We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest released version of Modin.
I have confirmed this bug exists on the main branch of Modin. (In order to do this you can follow this guide.)
# Modin import modin.pandas as pd import modin.numpy as np # Vanilla import pandas as vpd import numpy as vnp cols = [f"feature_{i}" for i in range(10)] # This is not enabled in modin.numpy hence using vanilla npy_array = vnp.random.rand(50, 10) vdf = vpd.DataFrame(npy_array, columns=cols) df = pd.DataFrame(vdf) # Works tmp = vnp.where( df["feature_0"] + df["feature_1"] > df["feature_2"] + df["feature_3"], 1, 0 ) # Doesn't work tmp = vnp.where( df["feature_0"] + df["feature_1"] > df["feature_2"] + df["feature_3"], 1, 0 ) # Doesn't work tmp = np.where( df["feature_0"] + df["feature_1"] > df["feature_2"] + df["feature_3"], 1, 0 ) # Doesn't work tmp = vnp.where(np.array(df["feature_0"]) + np.array(["feature_1"]) > np.array(df["feature_2"]) + np.array(df["feature_3"]), 1, 0)
We need to fix some of the numpy hooks we provide.
This should work - without ExperimentalNumPyAPI on, it should default to pandas, and with it on, it should work distributed.
Replace this line with the error backtrace (if applicable).
Replace this line with the output of pd.show_versions()
The text was updated successfully, but these errors were encountered:
FIX-modin-project#6287: Fix handling of numpy array_function
fd1c7c0
Signed-off-by: Rehan Durrani <rehan@ponder.io>
No branches or pull requests
Modin version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest released version of Modin.
I have confirmed this bug exists on the main branch of Modin. (In order to do this you can follow this guide.)
Reproducible Example
Issue Description
We need to fix some of the numpy hooks we provide.
Expected Behavior
This should work - without ExperimentalNumPyAPI on, it should default to pandas, and with it on, it should work distributed.
Error Logs
Installed Versions
Replace this line with the output of pd.show_versions()
The text was updated successfully, but these errors were encountered: