如何将dataframe的时间戳列转换为数值?在下面的数据帧'df‘中,下面时间列的数据类型是'datetime64’。
Time Count
2018-05-15 00:00:00 4
2018-05-15 00:15:00 1
2018-05-15 00:30:00 5
2018-05-15 00:45:00 6
2018-05-15 01:15:00 3
2018-05-15 01:30:00 4
2018-05-15 02:30:00 5
2018-05-15 02:45:00 3
2018-05-15 03:15:00 2
2018-05-15 03:30:00 5
https://stackoverflow.com/questions/50594765
复制相似问题