Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

feat: compatibility with safe-ds v0.6.0 #40

Merged
merged 1 commit into from
Mar 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/examples/titanic.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
"execution_count": null,
"outputs": [],
"source": [
"titanic_correlation = titanic.keep_columns([\n",
"titanic_correlation = titanic.keep_only_columns([\n",
" \"age\",\n",
" \"siblings_spouses\",\n",
" \"parents_children\",\n",
Expand Down
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ packages = [

[tool.poetry.dependencies]
python = "^3.10"
safe-ds = ">=0.5,<0.6"
safe-ds = ">=0.6,<0.7"

[tool.poetry.group.dev.dependencies]
pytest = "^7.2.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def test_schema(self, house_sales: Table) -> None:
)

def test_columns_with_missing_values(self, house_sales: Table) -> None:
actual_column_names = {column.name for column in house_sales.list_columns_with_missing_values()}
actual_column_names = {column.name for column in house_sales.to_columns() if column.has_missing_values()}

assert actual_column_names == set()

Expand Down
2 changes: 1 addition & 1 deletion tests/safeds_examples/tabular/_titanic/test_titanic.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_schema(self, titanic: Table) -> None:
)

def test_columns_with_missing_values(self, titanic: Table) -> None:
actual_column_names = {column.name for column in titanic.list_columns_with_missing_values()}
actual_column_names = {column.name for column in titanic.to_columns() if column.has_missing_values()}

assert actual_column_names == {"age", "port_embarked", "fare", "cabin"}

Expand Down