pandas.Timestamp.asm8#

Timestamp.asm8#

返回NumPy DateTime64格式,单位为纳秒。

示例

>>> ts = pd.Timestamp(2020, 3, 14, 15)
>>> ts.asm8
numpy.datetime64('2020-03-14T15:00:00.000000000')