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
.astype(..., errors="ignore")
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.)
from modin.pandas.test.utils import create_test_dfs md_df1, pd_df1 = create_test_dfs({"col1": ["a", 0, 1]}) md_res = md_df1.astype(int, errors="ignore") pd_res = pd_df1.astype(int, errors="ignore") print(f"modin dtypes:\n{md_res.dtypes}\n") # int64 (successful cast?) print(f"pandas dtypes:\n{pd_res.dtypes}\n") # object (unsuccessful as expected) print(f"modin's insides:\n{md_res._to_pandas().dtypes}") # object (unsuccessful as expected)
Modin seems to change the dtypes anyway even if the cast was unsuccessful.
To work as pandas
Replace this line with the error backtrace (if applicable).
Replace this line with the output of pd.show_versions()
-- Note: this issue is a part of an epic #3804
The text was updated successfully, but these errors were encountered:
df_equals
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
Modin seems to change the dtypes anyway even if the cast was unsuccessful.
Expected Behavior
To work as pandas
Error Logs
Installed Versions
Replace this line with the output of pd.show_versions()
--
Note: this issue is a part of an epic #3804
The text was updated successfully, but these errors were encountered: