pandas 安装

官网安装说明:

http://pandas.pydata.org/pandas-docs/stable/install.html

ubuntu 12.04下测试安装

1.先装依赖包

sudo apt-get install python-dev,python-dateutil,python-matplotlib

sudo pip install

NumPy

--upgrade pytz

numexpr

bottleneck

Cython

SciPy  

(安装报错 sudo apt-get install gfortran libopenblas-dev liblapack-dev

openpyxl xlrd/xlwt 

XlsxWriter

boto

Google bq Command Line Tool * Needed for gbq  

sudo apt-get build-dep python-lxml  在装后面的lxml

html5lib

lxml

BeautifulSoup4  (html5lib,lxml,之后)

PyTables   (需要装HDF5) 

            pip instlal tables  

            http://micro.stanford.edu/wiki/Install_HDF5#Ubuntu

      sudo apt-get install libhdf5-serial-dev
      pip install h5py

2.安装pandas 

pip install pandas

statsmodels   依赖pandas.stats


你可能感兴趣的:(pandas)