The datetime_format
parameter of pd.ExcelWriter
in Pandas is nice to format your datetime output pretty easy before using to_excel()
; see here and the answer of jmcnamara, answered Sep 18 '14 at 22:23.
All format settings that are made afterwards are neglected, which is described in Working with Python Pandas and XlsxWriter in the section Formatting of the Dataframe output as well.
I have two questions:
Can I change the font_size of a datetime column that easy as well? Or do I have to take the way through
xlswriter
and write out the raw data?Where is the documentation of
pd.ExcelWriter()
? Shouldn't there be a description which tells you which parameters you can use? I'm just finding a documentation ofto_excel()
; see here.
Thanks!