You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently pandas to_excel function has one parameter named merge_cells: if True it merges all cells in the excel sheet corresponding to the index and columns. However, if there are many levels of the index and many values for the higher levels, then as we scroll on the sheet, values of the higher levels in index become invisible. One way to keep the repeated values is to set merge_cells = False. However, in that case the column levels are also affected.
It would be great to have a way to control this aspect of index and columns separately. One way would be to let merge_cells to take a 2-tuple of which one value is for the index and the other for the columns.
The text was updated successfully, but these errors were encountered:
It would be great to have a way to control this aspect of index and columns separately. One way would be to let merge_cells to take a 2-tuple of which one value is for the index and the other for the columns.
another approach for allowing a boolean to apply to rows or columns only is to allow the use of 'index' or 'columns' as arguments.
Currently pandas
to_excel
function has one parameter namedmerge_cells
: ifTrue
it merges all cells in the excel sheet corresponding to the index and columns. However, if there are many levels of the index and many values for the higher levels, then as we scroll on the sheet, values of the higher levels in index become invisible. One way to keep the repeated values is to setmerge_cells = False
. However, in that case the column levels are also affected.It would be great to have a way to control this aspect of index and columns separately. One way would be to let
merge_cells
to take a 2-tuple of which one value is for the index and the other for the columns.The text was updated successfully, but these errors were encountered: