Skip to content

Attribute Error: module 'numpy' has no attribute 'bool' #2226

@akanshkatyayan

Description

@akanshkatyayan

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions