You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It works OK with original code. It is expected to work with Modin-dask
Error Logs
File "/home/administrator/.local/lib/python3.10/site-packages/modin/core/dataframe/pandas/dataframe/dataframe.py", line 1730, in astype
ifnot (col_dtypes == self_dtypes).all():
AttributeError: 'bool' object has no attribute 'all'
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
Hi,
I got AttributeError: 'bool' object has no attribute 'all' with folliwng code
Where both crit1 and dff[col].dtype are string type.
It seems this check is invalid https://github.com/modin-project/modin/blob/main/modin/core/dataframe/pandas/dataframe/dataframe.py#L1730C13-L1730C54
Expected Behavior
It works OK with original code. It is expected to work with Modin-dask
Error Logs
Installed Versions
Modin dependencies
modin : 0.30.0
ray : None
dask : 2024.4.2
distributed : 2024.4.2
hdk : None
pandas dependencies
pandas : 2.2.0
numpy : 1.26.4
The text was updated successfully, but these errors were encountered: