I have pandas data frame with int64 , object , and datetime64[ns] data types. How to preserve those data types when exporting pandas DataFrame.to_Excel option?
I want exported Excel file columns looks like this:
int64 Number format in Excel
object Text format in Excel
datetime64[ns] Date format in Excel
Right now all of my Excel column format shows as General