Fix :DataFrame.head shouldn't warn when there's one partition#8091
Fix :DataFrame.head shouldn't warn when there's one partition#8091
Conversation
|
Can one of the admins verify this patch? |
|
add to allowlist |
TomAugspurger
left a comment
There was a problem hiding this comment.
Thanks, can you add a test? I think something like with pytest.warns(None) will check that no warning is raised.
jrbourbeau
left a comment
There was a problem hiding this comment.
Thanks @Patil2099! Could you add a test that ensures no warning is raised when npartitions == self.npartitions or npartitions == -1 is True?
|
Whoops, @TomAugspurger beat me to it : ) |
|
GPU issues should be fixed now that rapidsai/cudf#9118 is in. Rerunning tests. |
|
rerun tests |
|
@Patil2099 checking in here, seeing if you are still working on this, and loop in with the suggestions and test addition mentioned above. Thank you for all your work! |
|
I've pushed a test and some simplified logic. Will merge once tests pass. Thanks @Patil2099! |
Fixes #8088