【发布时间】:2022-01-02 08:58:11
【问题描述】:
这篇文章的目的是能够将列 ['Open Date', 'Close date'] 转换为时间戳格式
我已尝试使用这些链接中的函数/示例并获得任何结果。
Convert datetime to timestamp in Neo4j
Pandas to_dict() converts datetime to Timestamp
非常感谢有关如何做到这一点的任何想法/cmets/示例。
列特征:
开放日期 datetime64[ns] 和 pandas.core.series.Series
截止日期 datetime64[ns] 和 pandas.core.series.Series
我终于开始使用这些库了
将熊猫导入为 pd
将 numpy 导入为 np
从日期时间导入日期时间、日期、时间、时间增量
【问题讨论】: