首页 > 解决方案 > 不能在 spyder 中使用 plot(kind='kde')

问题描述

代码很简单,但导致内核死机,第二张图片中提到了错误。我尽了最大的努力去弄清楚,但没有成功。如果您有建议或解决方案,请告诉我。非常感谢。

import pandas as pd
import numpy as np
ser = pd.Series(np.random.randn(1000))
ser.plot(kind='kde')

Kernel died, restarting


/home/flowqer/anaconda3/lib/python3.5/site-packages/traitlets/config/configurable.py:84: UserWarning: Config option `use_jedi` not recognized by `IPCompleter`.
self.config = config

标签: pythonpandasanacondaspyder

解决方案


推荐阅读