python如何将从日期传递的秒数转换为日期和时间值?

时间:2016-10-19 16:52:33

标签: python datetime pandas

我有一个大熊猫时间序列,其中包含自1970年1月1日以来的秒数。我怎样才能获得实际日期?

我的数据是:

In [119]: train_flows.Last.head()
Out[119]: 

0    1473894892
1    1473894892
2    1473894891
3    1473894891
4    1473894899
Name: Last, dtype: int64

我希望将1473894892转换为10.00.00 of the 20th October 2015

0 个答案:

没有答案