Answers for "Excel does not support datetimes with timezones. Please ensure that datetimes are timezone unaware before writing to Excel."

1

Excel does not support datetimes with timezones. Please ensure that datetimes are timezone unaware before writing to Excel.

df['date'] = df['date'].apply(lambda a: pd.to_datetime(a).date())
Posted by: Guest on August-11-2021

Code answers related to "Excel does not support datetimes with timezones. Please ensure that datetimes are timezone unaware before writing to Excel."

Browse Popular Code Answers by Language