玩轉Python大數據分析 《Python for Data Analysis》的讀書筆記-第11頁

作者推薦使用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) 鍵入

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

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

  3. Out[2]:

  4. 225927299.jpg


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章