Skip to content

Commit

Permalink
style: apply automated linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-reimann authored and github-actions[bot] committed Mar 21, 2023
1 parent cbb0cfd commit 65e5cd1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/safeds/data/tabular/_column.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,6 @@ def sum(self) -> float:
return self._column._data.sum()

def variance(self) -> float:

"""
Return the variance of the column. The column has to be numerical.
Expand All @@ -404,7 +403,6 @@ def variance(self) -> float:
return self._column._data.var()

def standard_deviation(self) -> float:

"""
Return the standard deviation of the column. The column has to be numerical.
Expand Down
6 changes: 4 additions & 2 deletions tests/safeds/data/tabular/_row/test_iter.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
from safeds.data.tabular import Row
from safeds.data.tabular.typing import TableSchema, IntColumnType, StringColumnType
from safeds.data.tabular.typing import IntColumnType, StringColumnType, TableSchema


def test_iter() -> None:
row = Row(
[0, "1"],
TableSchema({"testColumn1": IntColumnType(), "testColumn2": StringColumnType()})
TableSchema(
{"testColumn1": IntColumnType(), "testColumn2": StringColumnType()}
),
)
assert list(row) == [0, "1"]

0 comments on commit 65e5cd1

Please sign in to comment.