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

前端 未结 15 2433
太阳男子
太阳男子 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:16

    As @COLDSPEED so eloquently pointed out the error explicitly tells you to install xlrd.

    pip install xlrd
    

    And you will be good to go.

提交回复
热议问题