Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
30dd55f
Add deprecation warning for retrieving dict
PGijsbers Jun 15, 2023
b502312
Refactor check_datasets_active to work with dataframe
PGijsbers Jun 15, 2023
357bb7d
Update unit tests to use list_datasets with output_format dataframe
PGijsbers Jun 15, 2023
29bbb57
Move list_datasets test to proper file
PGijsbers Jun 15, 2023
464e5dd
Remove list_datasets test, duplicate in test_datasets_functions
PGijsbers Jun 15, 2023
aaad25f
Update list_flows calls to use output_format='dataframe'
PGijsbers Jun 15, 2023
cf9dd7b
Update list_runs calls to require dataframe output
PGijsbers Jun 15, 2023
13f2fb5
Update list_setup calls for deprecation
PGijsbers Jun 15, 2023
d3342a1
Update list_study calls
PGijsbers Jun 15, 2023
b8a915b
Update list_tasks to specify output_format dataframe
PGijsbers Jun 15, 2023
3361b15
Add `output_format` to `list_datasets` call
PGijsbers Jun 15, 2023
be16355
Add TODO markers for removing `dict` support of `list_*` functions
PGijsbers Jun 15, 2023
5cc1287
Make status check less strict, call list_dataset with output_format
PGijsbers Jun 15, 2023
576e09c
Change index on id to did, since thats the dataset id's column name
PGijsbers Jun 15, 2023
b82febe
Update test to reflect new error message
PGijsbers Jun 15, 2023
cc944b5
Fix bug introduced by refactor
PGijsbers Jun 15, 2023
dca2590
Fix minor oversights of refactoring
PGijsbers Jun 15, 2023
5240504
Merge branch 'develop' into pandas_default
PGijsbers Jun 15, 2023
3cff453
Rename variables to reflect they are no longer lists
PGijsbers Jun 16, 2023
c130c41
Fix unsafe indexing on dataframe and remaining unit tests
PGijsbers Jun 16, 2023
22a6dd3
Perform safer check for integer dtypes
PGijsbers Jun 16, 2023
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
Prev Previous commit
Next Next commit
Add TODO markers for removing dict support of list_* functions
  • Loading branch information
PGijsbers committed Jun 15, 2023
commit be1635569d86c62fc2d9ca772b510661987eb024
1 change: 1 addition & 0 deletions openml/datasets/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ def list_datasets(
"Invalid output format selected. " "Only 'dict' or 'dataframe' applicable."
)

# TODO: [0.15]
if output_format == "dict":
msg = (
"Support for `output_format` of 'dict' will be removed in 0.15 "
Expand Down
1 change: 1 addition & 0 deletions openml/evaluations/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def list_evaluations(
"Invalid output format selected. " "Only 'object', 'dataframe', or 'dict' applicable."
)

# TODO: [0.15]
if output_format == "dict":
msg = (
"Support for `output_format` of 'dict' will be removed in 0.15. "
Expand Down
1 change: 1 addition & 0 deletions openml/flows/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ def list_flows(
"Invalid output format selected. " "Only 'dict' or 'dataframe' applicable."
)

# TODO: [0.15]
if output_format == "dict":
msg = (
"Support for `output_format` of 'dict' will be removed in 0.15 "
Expand Down
1 change: 1 addition & 0 deletions openml/runs/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1011,6 +1011,7 @@ def list_runs(
raise ValueError(
"Invalid output format selected. " "Only 'dict' or 'dataframe' applicable."
)
# TODO: [0.15]
if output_format == "dict":
msg = (
"Support for `output_format` of 'dict' will be removed in 0.15 "
Expand Down
1 change: 1 addition & 0 deletions openml/setups/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ def list_setups(
"Invalid output format selected. " "Only 'dict', 'object', or 'dataframe' applicable."
)

# TODO: [0.15]
if output_format == "dict":
msg = (
"Support for `output_format` of 'dict' will be removed in 0.15. "
Expand Down
2 changes: 2 additions & 0 deletions openml/study/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ def list_suites(
raise ValueError(
"Invalid output format selected. " "Only 'dict' or 'dataframe' applicable."
)
# TODO: [0.15]
if output_format == "dict":
msg = (
"Support for `output_format` of 'dict' will be removed in 0.15 "
Expand Down Expand Up @@ -539,6 +540,7 @@ def list_studies(
raise ValueError(
"Invalid output format selected. " "Only 'dict' or 'dataframe' applicable."
)
# TODO: [0.15]
if output_format == "dict":
msg = (
"Support for `output_format` of 'dict' will be removed in 0.15 "
Expand Down
1 change: 1 addition & 0 deletions openml/tasks/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ def list_tasks(
raise ValueError(
"Invalid output format selected. " "Only 'dict' or 'dataframe' applicable."
)
# TODO: [0.15]
if output_format == "dict":
msg = (
"Support for `output_format` of 'dict' will be removed in 0.15 "
Expand Down