I am trying to read a .xlsx with pandas, but get the follwing error:
.xlsx
data = pd.read_excel(low_memory=False, io=\"DataAnalysis1/temp1.xlsx\").fillna(
I was getting an error
"ImportError: Install xlrd >= 1.0.0 for Excel support"
on Pycharm for below code
import pandas as pd df2 = pd.read_excel("data.xlsx") print(df2.head(3)) print(df2.tail(3))
Solution : pip install xlrd
pip install xlrd
It resolved error after using this. Also no need to use "import xlrd"
import xlrd