python - 不能在 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
解决方案
推荐阅读
- c++ - 函数参数可以隐藏另一个函数标识符吗?
- .htaccess - 将 .htacess www 重定向到非 www http 到 https
- mysql - mysql问题选择按月分组和年总和
- reactjs - 如何使用 useState 挂钩在 FormDataConsumer 中设置值
- oracle - oracle中的方程式是否可以获取月份的日期?
- vue.js - Quasar - q-scroll-area :让孩子适应可用空间
- intellij-idea - jax-rs & mvc:将视图作为字符串问题返回
- mysql - SQL获取最低ID的第一个值
- java - 以编程方式悬停 JavaFX MenuItem 的样式
- python - 如何检查一个意味着整数的输入是否为空(在python中)?