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 27, 2023
1 parent 553cf25 commit f44376a
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/safeds/data/tabular/containers/_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
import seaborn as sns
from IPython.core.display_functions import DisplayHandle, display
from pandas import DataFrame, Series
from scipy import stats

from safeds.data.tabular.containers._column import Column
from safeds.data.tabular.containers._row import Row
from safeds.data.tabular.typing import ColumnType, TableSchema
Expand All @@ -28,6 +26,7 @@
SchemaMismatchError,
UnknownColumnNameError,
)
from scipy import stats


# noinspection PyProtectedMember
Expand Down Expand Up @@ -273,7 +272,7 @@ def get_column(self, column_name: str) -> Column:
if self._schema.has_column(column_name):
output_column = Column(
self._data.iloc[
:, [self._schema._get_column_index_by_name(column_name)]
:, [self._schema._get_column_index_by_name(column_name)]
].squeeze(),
column_name,
self._schema.get_type_of_column(column_name),
Expand Down Expand Up @@ -830,9 +829,9 @@ def slice(
def sort_columns(
self,
query: Callable[[Column, Column], int] = lambda col1, col2: (
col1.name > col2.name
)
- (col1.name < col2.name),
col1.name > col2.name
)
- (col1.name < col2.name),
) -> Table:
"""
Sort a table with the given lambda function.
Expand Down

0 comments on commit f44376a

Please sign in to comment.