您的位置:首页 > 编程语言 > Python开发

玩转Python大数据分析 《Python for Data Analysis》的读书笔记-第11页

2017-08-14 00:00 495 查看
作者推荐使用EPD作为学习本书各章节的学习环境,但登录到EPD网站后发现EPD已经升级为canocy了,当然可以使用canocy,
但是有个授权期限问题,实际上EPD不过是Scipy、Numpy等工具包的一个合集,学习这本书无非需要使用Numpy、Scipy、Pandas,
这些都可以自己根据阶段需求自己来安装即可,我在读这本书的时候就自己安装上述各工具包,现总结一下如何在Ubuntu12.04下如
何安装学习此书的开发环境。

1 安装GCC

sudo aptitude install gcc

2 安装NumPy

安装说明网页

http://www.scipy.org/install.html安装命令(numpy、scipy、ipython、malplotlib等)

sudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-sympy python-nose

3M带宽安装需要30分钟吧

3 安装pandas

安装说明网页

http://pandas.pydata.org/pandas-docs/stable/install.html安装命令

sudo apt-get install python-pandas

4测试

1)ipython notebook --pylab inline (启动网页版的IPython(notebook))

2)点击 new notebook

3) 键入



In [1]:import pandas (shift+Enter)

In [2]:plot(arange(10))(shift+Enter)

Out[2]:



内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐