Difference between data type 'datetime64[ns]' and '<M8[ns]'?

后端 未结 2 808
温柔的废话
温柔的废话 2020-12-01 01:36

I have created a TimeSeries in pandas:

In [346]: from datetime import datetime

In [347]: dates = [datetime(2011, 1, 2), datetime(2011, 1, 5), datetime(2011,         


        
2条回答
  •  借酒劲吻你
    2020-12-01 02:36

    If this is generating errors in running your code, upgrading pandas and numpy synchronously is likely to solve the conflict in datetime datatype.

提交回复
热议问题