Dask 数据帧 OutOfBoundsDatetime 错误

时间:2021-01-05 18:04:28

标签: pandas dask dask-distributed dask-dataframe

尝试对 datetime[ns] 数据框中的 Dask 列执行操作时出现以下错误:

<块引用>

OutOfBoundsDatetime:越界纳秒时间戳:3019-01-31 00:00:00

我尝试执行的操作是:

[1] print(df_calls['CALL_TS'].min().compute(), df_calls['CALL_TS'].max().compute())

[2] pd.concat([df_calls.isnull().sum().compute(), df_calls.isnull().sum().compute()/len(df_calls)],1)\
.rename(columns={0:'count', 1:'fraction'})

当我尝试在 min 数据框上获取 maxpandas 时,它起作用了,所以为什么它在 dask 数据框上不起作用。

CALL_TS 中的最小和最大日期为:2018-03-26; 2020-12-30

非常感谢您的帮助。

0 个答案:

没有答案
相关问题