Attribute Error: module 'numpy' has no attribute 'bool'
akanshkatyayan opened this issue · comments
Reading a CSV file using Koalas is giving the below error. I believe this is because NumPy has deprecated np.bool in release 1.24.0
Attribute Error: module 'numpy' has no attribute 'bool'
# BooleanType
--> elif tpe in (bool, np.bool, "bool", "?"):
return types.BooleanType()
I also encounter this problem when run ks.range(0, 100)
. If I change 'np.bool' to 'np.bool_', AttributeError: module 'numpy' has no attribute 'float'
will appear.
can I take it ?
ditto. Please see #2223 (comment).