-
-
Notifications
You must be signed in to change notification settings - Fork 406
compat: cuDF 25.08 #6659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
hoxbro
wants to merge
1
commit into
main
Choose a base branch
from
compat_cudf
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
compat: cuDF 25.08 #6659
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hoxbro
commented
Aug 7, 2025
@@ -255,7 +255,7 @@ def select(cls, dataset, selection_mask=None, **selection): | |||
|
|||
indexed = cls.indexed(dataset, selection) | |||
if selection_mask is not None: | |||
df = df.iloc[selection_mask] | |||
df = df.loc[selection_mask] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Else test would error:
.pixi/envs/test-gpu/lib/python3.12/site-packages/cudf/core/indexing_utils.py:118: KeyError
=================================================================================================================== short test summary info ===================================================================================================================
FAILED holoviews/tests/core/data/test_cudfinterface.py::cuDFInterfaceTests::test_dataset_groupby - KeyError: '0 True\n1 True\n2 False\nName: Gender, dtype: bool: boolean label can not be used without a boolean index'
FAILED holoviews/tests/core/data/test_cudfinterface.py::cuDFInterfaceTests::test_dataset_groupby_alias - KeyError: '0 True\n1 True\n2 False\nName: gender, dtype: bool: boolean label can not be used without a boolean index'
FAILED holoviews/tests/core/data/test_cudfinterface.py::cuDFInterfaceTests::test_dataset_groupby_dynamic - KeyError: '0 True\n1 True\n2 False\nName: Gender, dtype: bool: boolean label can not be used without a boolean index'
FAILED holoviews/tests/core/data/test_cudfinterface.py::cuDFInterfaceTests::test_dataset_groupby_dynamic_alias - KeyError: '0 True\n1 True\n2 False\nName: gender, dtype: bool: boolean label can not be used without a boolean index'
FAILED holoviews/tests/core/data/test_cudfinterface.py::cuDFInterfaceTests::test_dataset_groupby_second_dim - KeyError: '0 True\n1 False\n2 False\nName: Age, dtype: bool: boolean label can not be used without a boolean index'
FAILED holoviews/tests/core/data/test_cudfinterface.py::cuDFInterfaceTests::test_dataset_index_column_idx_hm - KeyError: '0 False\n1 False\n2 False\n3 False\n4 False\n5 True\n6 False\n7 False\n8 False\n9 False\n10 False\nName: x, dtype: bool: boolean label can not be used without a boolean index'
FAILED holoviews/tests/core/data/test_cudfinterface.py::cuDFInterfaceTests::test_dataset_index_item_table - KeyError: '0 False\n1 False\n2 True\ndtype: bool: boolean label can not be used without a boolean index'
FAILED holoviews/tests/core/data/test_cudfinterface.py::cuDFInterfaceTests::test_dataset_index_row_age - KeyError: '0 False\n1 False\n2 True\nName: Age, dtype: bool: boolean label can not be used without a boolean index'
FAILED holoviews/tests/core/data/test_cudfinterface.py::cuDFInterfaceTests::test_dataset_index_row_gender_female - KeyError: '0 False\n1 False\n2 True\nName: Gender, dtype: bool: boolean label can not be used without a boolean index'
FAILED holoviews/tests/core/data/test_cudfinterface.py::cuDFInterfaceTests::test_dataset_index_rows_gender_male - KeyError: '0 True\n1 True\n2 False\nName: Gender, dtype: bool: boolean label can not be used without a boolean index'
FAILED holoviews/tests/core/data/test_cudfinterface.py::cuDFInterfaceTests::test_dataset_index_value1 - KeyError: '0 False\n1 False\n2 True\ndtype: bool: boolean label can not be used without a boolean index'
FAILED holoviews/tests/core/data/test_cudfinterface.py::cuDFInterfaceTests::test_dataset_index_value2 - KeyError: '0 False\n1 False\n2 True\ndtype: bool: boolean label can not be used without a boolean index'
FAILED holoviews/tests/core/data/test_cudfinterface.py::cuDFInterfaceTests::test_dataset_select_rows_gender_male - KeyError: '0 True\n1 True\n2 False\nName: Gender, dtype: bool: boolean label can not be used without a boolean index'
FAILED holoviews/tests/core/data/test_cudfinterface.py::cuDFInterfaceTests::test_dataset_select_rows_gender_male_alias - KeyError: '0 True\n1 True\n2 False\nName: gender, dtype: bool: boolean label can not be used without a boolean index'
FAILED holoviews/tests/core/data/test_cudfinterface.py::cuDFInterfaceTests::test_dataset_select_rows_gender_male_alias_dict - KeyError: '0 True\n1 True\n2 False\nName: gender, dtype: bool: boolean label can not be used without a boolean index'
FAILED holoviews/tests/core/data/test_cudfinterface.py::cuDFInterfaceTests::test_dataset_select_rows_gender_male_dict - KeyError: '0 True\n1 True\n2 False\nName: Gender, dtype: bool: boolean label can not be used without a boolean index'
FAILED holoviews/tests/core/data/test_cudfinterface.py::cuDFInterfaceTests::test_dataset_select_rows_gender_male_dimension_dict - KeyError: '0 True\n1 True\n2 False\nName: Gender, dtype: bool: boolean label can not be used without a boolean index'
FAILED holoviews/tests/core/data/test_cudfinterface.py::cuDFInterfaceTests::test_dataset_select_rows_gender_male_expr - KeyError: '0 True\n1 True\n2 False\nName: Gender, dtype: bool: boolean label can not be used without a boolean index'
FAILED holoviews/tests/core/data/test_cudfinterface.py::cuDFInterfaceTests::test_dataset_slice_fn_hm - KeyError: '0 False\n1 False\n2 False\n3 False\n4 False\n5 True\n6 True\n7 True\n8 True\n9 False\n10 False\nName: x, dtype: bool: boolean label can not be used without a boolean index'
FAILED holoviews/tests/core/data/test_cudfinterface.py::cuDFInterfaceTests::test_dataset_slice_hm - KeyError: '0 False\n1 False\n2 False\n3 False\n4 False\n5 True\n6 True\n7 True\n8 True\n9 False\n10 False\nName: x, dtype: bool: boolean label can not be used without a boolean index'
FAILED holoviews/tests/core/data/test_cudfinterface.py::cuDFInterfaceTests::test_dataset_slice_hm_alias - KeyError: '0 False\n1 False\n2 False\n3 False\n4 False\n5 True\n6 True\n7 True\n8 True\n9 False\n10 False\nName: x, dtype: bool: boolean label can not be used without a boolean index'
FAILED holoviews/tests/core/data/test_cudfinterface.py::cuDFInterfaceTests::test_dataset_value_dim_scalar_index - KeyError: '0 True\n1 False\n2 False\ndtype: bool: boolean label can not be used without a boolean index'
=========================================================================================== 22 failed, 105 passed, 1 skipped, 5471 deselected, 2 xfailed in 13.28s ============================================================================================
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6659 +/- ##
=======================================
Coverage 88.92% 88.92%
=======================================
Files 328 328
Lines 70020 70020
=======================================
Hits 62262 62262
Misses 7758 7758 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.