-
Notifications
You must be signed in to change notification settings - Fork 655
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
add
fails with empty DataFrame argument
#4059
Comments
@c3-cjazra thank you for reporting this! I can reproduce the bug. |
I think that this bug applies to any binary operation in Modin. Before we execute a binary operation, the Modin frame calls import modin.pandas as pd
pd.DataFrame([[1], [2]]) + pd.DataFrame([[3]]) then at the point where we apply the operation in
and
However, in a simple case of the bug, import modin.pandas as pd
pd.DataFrame([[1], [2]]) + pd.DataFrame([[]]) , the right frame has no partitions, so One possible fix is that in @modin-project/modin-contributors, what is the correct way to fix this? |
Given the docstring's line |
…ion for binary ops, fix bin ops for empty dataframes Signed-off-by: Alexey Prutskov <[email protected]>
…n ops for empty dataframes (#4391) Signed-off-by: Alexey Prutskov <[email protected]>
System information
Modin: 0.12.0
Ray 1.7.1
python 3.9.7
Describe the problem
error:
works in pandas
The text was updated successfully, but these errors were encountered: