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

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

    This works for me: For Python 3

    pip3 install xlrd --user

    For Python2

    pip install xlrd --user

提交回复
热议问题