0

I`m new to Pandas. When I try to write "timedelta64[ns]"data frame as below, to excel, the value of the corresponding column in excel displays as 0.How can I fix this? Thanks in advance.

0 00:41:12
1 01:27:12
2 00:12:06
3 00:42:43
4 00:16:25

Gonta
  • 1
  • 1
  • That's the index of the DataFrame/Series. Just add `index=False` when exporting `df.to_excel(..., index=False)` – Henry Ecker Dec 15 '21 at 04:16

0 Answers0