Pandas的未来警告会使Mac崩溃吗?

2024-09-23 10:28:00 发布

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

我正在试着在我的mac(Mojave)上运行Quantiacs的趋势跟踪示例程序。Python是anaconda3中的python3.7。在显示以下输出(来自控制台或eclipse/PyDev内部的相同行为)后,计算机立即崩溃(黑屏紧跟着登录屏幕,甚至丢失eclipse设置):

Loading Data...
Done!
Evaluating Trading System trendFollowing.py
/Users/rvogt/anaconda3/lib/python3.7/site-packages/pandas/plotting/_converter.py:129: FutureWarning: Using an implicitly registered datetime converter for a matplotlib plotting method. The converter was registered by pandas on import. Future versions of pandas will require you to explicitly register matplotlib converters.

To register the converters:
    >>> from pandas.plotting import register_matplotlib_converters
    >>> register_matplotlib_converters()
  warnings.warn(msg, FutureWarning)

这次坠机可能与熊猫未来预警有关吗?我们能做些什么呢?你知道吗


Tags: pyimportregisterpandasmatplotlibmacplottingconverter