Pandas dates wrong when writing to drive

后端 未结 0 1191
心在旅途
心在旅途 2020-11-29 05:22

the following code messes up dates in pandas/python3 when writing an excel to the hard drive:

df[\'Date\'] = pd.to_datetime(df[\'Date\'], format=\'%Y-%m-%d\')         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题