Skip to content

Commit 9ae35f8

Browse files
author
locojaydev
committed
hadling all attributes
1 parent f13d093 commit 9ae35f8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pandas/core/frame.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1415,7 +1415,10 @@ def to_excel(self, excel_writer, sheet_name='sheet1', na_rep='',
14151415
formatter = fmt.ExcelFormatter(self,
14161416
na_rep=na_rep,
14171417
cols=cols,
1418-
float_format=float_format)
1418+
header=header,
1419+
float_format=float_format,
1420+
index=index,
1421+
index_label=index_label)
14191422
formatted_cells = formatter.get_formatted_cells()
14201423
excel_writer.write_cells(formatted_cells, sheet_name,
14211424
startrow=startrow, startcol=startcol)

0 commit comments

Comments
 (0)