#Creating the ExcelFile object
xls = pd.ExcelFile(r'Path.xlsx')#In the next step, you can pass the ExcelFile object to read_excel to import#its content, instead of the path to the file.
data = pd.read_excel(xls, sheet_name='Name_of_sheet', index_col='Index_Column')
# Install openpyxl# pip install openpyxl# Read excel sheet
workbook = load_workbook(filename=file_path)
sheet = workbook.active
for temps in sheet.iter_rows(min_row=2, min_col=1, max_col=5, values_only=True):# Add you code# You should get all the parsed columns in temps as temps[0], temps[1] etc