The following worked for me:
from pandas import read_excel
# find your sheetmy_sheet name= at'Sheet1' the# bottomchange leftit ofto your excel file andsheet assignname,
#you itcan tofind my_sheetyour
my_sheetsheet =name 'Sheet1'at #the changebottom itleft toof your sheetexcel namefile
file_name = 'products_and_categories.xlsx' # change it to the name of your excel file
df = read_excel(file_name, sheet_name = my_sheet)
print(df.head()) # shows headers with top 5 rows