python-3.x - pandas.tools 在哪里
问题描述
安装后pandas
:
idf:~/Documents/python/plot$ pip3 install pandas --user
Collecting pandas
Using cached https://files.pythonhosted.org/packages/f9/e1/4a63ed31e1b1362d40ce845a5735c717a959bda992669468dae3420af2cd/pandas-0.24.0-cp36-cp36m-manylinux1_x86_64.whl
Requirement already satisfied: numpy>=1.12.0 in /home/idf/.local/lib/python3.6/site-packages (from pandas) (1.15.4)
Requirement already satisfied: pytz>=2011k in /home/idf/.local/lib/python3.6/site-packages (from pandas) (2018.7)
Requirement already satisfied: python-dateutil>=2.5.0 in /home/idf/.local/lib/python3.6/site-packages (from pandas) (2.7.5)
Requirement already satisfied: six>=1.5 in /home/idf/.local/lib/python3.6/site-packages (from python-dateutil>=2.5.0->pandas) (1.12.0)
zipline 1.3.0 has requirement pandas<=0.22,>=0.18.1, but you'll have pandas 0.24.0 which is incompatible.
Installing collected packages: pandas
Successfully installed pandas-0.24.0
idf:~/Documents/python/plot$
我尝试加载pandas.tools
,
from pandas.tools.plotting import autocorrelation_plot
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-52-e11ce94b8d5d> in <module>
----> 1 from pandas.tools.plotting import autocorrelation_plot
ModuleNotFoundError: No module named 'pandas.tools'
我如何访问pandas.tools
?
解决方案
推荐阅读
- set - 检查一个集合的元素是否存在于另一个集合中
- r - 循环遍历 R 中的数据集
- c# - 打开打开 PDF 的新选项卡,然后重定向到索引视图,但由 controle
- vxml - VXML 呼叫转移
- java - 更改 Maven 故障安全预集成测试的工作目录以查找 Spring 配置
- algorithm - 使用以下结构创建一个由 3 个数字组成的数组的哈希?
- c# - 找不到路径
- python - 如何获取选定的选项并将其存储在 python 的变量中?
- spam-prevention - 用于检查用户注册是否为垃圾邮件/无效的 API?
- android - Android AsyncTask 类挂起我的应用程序为什么?