I'm struggle to read a excel sheet with pd.read_excel()
.
My excel table looks like this in it's raw form:
I expected the dataframe to look like this:
bar baz foo
one two one two one two
A B C D E F
baz one 0.085930 -0.848468 0.911572 -0.705026 -1.284458 -0.602760
two 0.385054 2.539314 0.589164 0.765126 0.210199 -0.481789
three -0.352475 -0.975200 -0.403591 0.975707 0.533924 -0.195430
is this even possible?
My failed attempt:
xls_file = pd.read_excel(data_file, header=[0,1,2], index_col=None)
Link to the raw excel file:
https://www.dropbox.com/s/ek646ab4yb1fvdq/ipsos_excel_tables_type_2_trimed_nosig.xlsx?dl=0
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…