使用‘pandas’的首要条件,python版本必须是2.7以上。
pip方式安装
如果有外网一般推荐使用pip安装,linux下和windows下均可使用pip安装
python -m pip install --upgrade pip
pip install --user numpy scipy matplotlib jupyter pandas sympy nose
但很快就会发现这些源安装超级慢,所以我推荐大家使用豆瓣的源
pip install matplotlib -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
pip install numpy -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
pip install pandas -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
pip install seaborn scipy -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
参考原文:https://blog.csdn.net/u012421976/article/details/78329843