ImportError: No module named 'xlrd'
I had the same problem. I went to the terminal (Using Linux), and typed
sudo pip3 install xlrd
Then I imported xlrd in python and used the same code:
df = pd.read_excel("File.xlsx", "Sheet1")print (df)
It worked for me!!
You have to download xlrd library because pandas require it.
In Pycharm I downloaded it in File -> Settings -> Project: [PROJECT NAME] -> Project Interpreter
Running the pip install xlrd
completed the installation, but that did not resolve the "no named module named xlrd" error.
Copying the xlrd folder to the same folder where the .py programs are stored, resolved this issue.