ImportError: No module named 'pandas.indexes'

前端 未结 7 928
独厮守ぢ
独厮守ぢ 2020-12-01 17:49

Importing pandas didn\'t throw the error, but rather trying to read a picked pandas dataframe as such:

import numpy as np
import pandas as pd
import matplotl         


        
相关标签:
7条回答
  • 2020-12-01 18:31

    I had this error when I created a pkl file with python 2.7 and was trying to read it with python 3.6 I did:

    pd.read_pickle('foo.pkl')
    

    and it worked

    0 讨论(0)
提交回复
热议问题