# Remove timezone information from DateTime column df["DateTime (UTC)"] = df["DateTime (UTC)"].dt.tz_convert(None) # Save again as Excel output_path = "/mnt/data/transactions.xlsx" df.to_excel(output_path, index=False) output_path
Remove timezone information from DateTime column
df["DateTime (UTC)"] = df["DateTime (UTC)"].dt.tz_convert(None)
Save again as Excel
output_path = "/mnt/data/transactions.xlsx"
df.to_excel(output_path, index=False)
output_path