我有一个dataframe
df:
A B LongColName1 AnotherNa AnotherName3
Brunner Island is not island Baltimore is town 0.26 3.88 3.75
Brunner Island is not island Baltimore is town -0.59 1.47 2.01
当我将上述数据框转储到 excel 时,它在 excel 中显示如下:
有没有办法设置数据框的样式,以便转储到 excel 如下所示: