Open
Description
When showing Values of a DataFrame with a named index, it introduces an empty row between header and data. There's no reason for it though, and pd.to_excel()
doesn't do it either (even if there's additionally a df.columns.name
!). So currently, you'd have to do df.reset_index()
to format it correctly.