确定正在使用哪一行代码pandas.core.datetools?

2024-10-06 11:19:52 发布

您现在位置:Python中文网/ 问答频道 /正文

我的代码给出了以下警告,但没有任何指示 我使用pandas.core.datetools。有人能建议我如何决定在哪里使用这个吗?在

 /Users/jimmy/anaconda/lib/python3.6/site-packages/statsmodels/compat/pandas.py:56:
 FutureWarning: The pandas.core.datetools module is deprecated and will be removed in a future version. 
 Please use the pandas.tseries module instead.
 from pandas.core import datetools`

Tags: 代码core警告pandaslibpackagessiteanaconda