I am getting a "FileNotFoundError: [Errno 2] No such file or directory: 'census_data.xlsx' " when importing excel file into pandas. I double checked my file was correct but I still get this error.
Here's my code:
import xlrd
book = xlrd.open_workbook('census_data.xlsx')
for sheet in book.sheets():
print (sheet.name)