【发布时间】:2020-12-10 20:03:44
【问题描述】:
我有一个这样的数据框:
housing_deals.head()
Out[2]:
price sale_date
0 477,000,000 1396/10/30
1 608,700,000 1396/11/25
2 580,000,000 1396/10/03
3 350,000,000 1396/12/05
4 328,000,000 1396/03/18
如何将 sale_date 列转换为 pandas 日期时间
我在下面看到
How to work around Python Pandas DataFrame's "Out of bounds nanosecond timestamp" error?
但我不能为我的数据框做到这一点
【问题讨论】:
标签: python pandas python-datetime