df = pd.read_excel('header_with_merged_cells.xlsx', skiprows=3, header=[0, 1])
df = df.reset_index()
df = df.rename(columns=lambda x: x if not 'Unnamed' in str(x) else '')
Fix DataFrame columns when reading an Excel file with a header with merged cells