With the following code for a .xlsx file with a Multiindex in the columns:
import pandas as pd df = pd.read_excel(\'To