Skip to content

TypeError: Cannot interpret '<attribute 'dtype' of 'numpy.generic' objects>' as a data type #18355

@MahendraCherukupalli

Description

@MahendraCherukupalli

Reproducing code example:

import numpy as np
<< your code here >>
import numpy as np
import pandas as pd
df=pd.read_csv('link')
df.info() and df.describe() gives error as "TypeError: Cannot interpret '<attribute 'dtype' of 'numpy.generic' objects>' as a data type" and also plotting(df.plot()) gives same error.

Error message:

NumPy/Python version information:

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