-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
Code StyleCode style, linting, code_checksCode style, linting, code_checksIO Excelread_excel, to_excelread_excel, to_excelgood first issue
Description
Right now the header style of excel exports is defined as global to the pandas/io/formats/excel.py
module:
pandas/pandas/io/formats/excel.py
Line 37 in 1a12c41
header_style = {"font": {"bold": True}, |
Because this exists outside of the ExcelFormatter
class where it is used it is way more difficult to override the default than it needs to be. If this was moved from global scope to instance scope it would allow users to theoretically subclass the ExcelFormatter
and easily define their own style for the header
This could also eliminate the need for any work on #19386
Metadata
Metadata
Assignees
Labels
Code StyleCode style, linting, code_checksCode style, linting, code_checksIO Excelread_excel, to_excelread_excel, to_excelgood first issue