danfojs icon indicating copy to clipboard operation
danfojs copied to clipboard

Missing indexes in Excel file after toExcel usage

Open citron opened this issue 3 years ago • 0 comments

Consider a Dataframe df with column names. Transpose it. Column names becomes row index. You can verify it with df.T.print() Now export df.T to an excel using the toExcel method. Open the excel files : our row indexes disappeared.

How can we export DataFrames so that row indexes appear as the first column ?

citron avatar Nov 04 '22 17:11 citron