Python: Pandas pd.read_excel giving ImportError: Install xlrd >= 0.9.0 for Excel support

前端 未结 15 2128
太阳男子
太阳男子 2021-02-01 12:04

I am trying to read a .xlsx with pandas, but get the follwing error:

data = pd.read_excel(low_memory=False, io=\"DataAnalysis1/temp1.xlsx\").fillna(         


        
15条回答
  •  醉酒成梦
    2021-02-01 12:14

    Either use:

    pip install xlrd
    

    And if you are using conda, use

    conda install -c anaconda xlrd
    

    That's it. good luck.

提交回复
热议问题