ImportError: cannot import name ‘Dataframe’

Cause:

Keyword for dataframe is unparsed due to case sensitivity

[oracle@hydrupgrd hydrapy]$ python3 pltcpu.py
Traceback (most recent call last):
  File "pltcpu.py", line 48, in <module>
    from pandas import Dataframe
ImportError: cannot import name 'Dataframe'

Solution:

Give the correct camel case keyword

from pandas import DataFrame

Leave a Reply