-
Notifications
You must be signed in to change notification settings - Fork 653
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
Dataframes with categorical columns cannot be interchanged #4652
Labels
bug 🦗
Something isn't working
Comments
Thanks for the report, I will have a look! |
pyrito
pushed a commit
to pyrito/modin
that referenced
this issue
Jul 29, 2022
Signed-off-by: Karthik Velayutham <vkarthik@ponder.io>
8 tasks
YarShev
pushed a commit
that referenced
this issue
Aug 1, 2022
Signed-off-by: Karthik Velayutham <vkarthik@ponder.io>
@honno your intuition about the issue was correct and we are handling this case properly now. Thanks for opening the issue! |
YarShev
pushed a commit
to YarShev/modin
that referenced
this issue
Aug 2, 2022
…odin-project#4737) Signed-off-by: Karthik Velayutham <vkarthik@ponder.io>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Interchanging a dataframe with categorical columns results in
NotImplementedError
. I'm not super familiar with data storage here, but I was wondering if maybe this is actually an unintended bug.Full traceback
I assume the message relates to
modin/modin/core/dataframe/pandas/exchange/dataframe_protocol/column.py
Lines 205 to 207 in 9b33451
but why can't
_get_validity_buffer()
raiseNoValidityBuffer
here instead, so by extensionget_buffers()
will havebuffers["validity"] = None
.modin/modin/core/dataframe/pandas/exchange/dataframe_protocol/column.py
Lines 312 to 315 in 9b33451
Wouldn't that be valid given
modin/modin/core/dataframe/base/exchange/dataframe_protocol/dataframe.py
Lines 350 to 353 in 9b33451
i.e. if columns use sentinel values, the validity buffer can just be
None
.cc @vnlitvinov
The text was updated successfully, but these errors were encountered: