发行版本ubuntu自带python2和Python3解释器,只需要安装模块:pandas、numpy、scipy、matplotlib等
pip安装:
wenj16@wenj16-Lenovo-YOGA-710-14IKB:~$ pip install numpy
wenj16@wenj16-Lenovo-YOGA-710-14IKB:~$ pip install pandas
安装ipython交互式Python解释器:sudo apt-get install ipython
安装jupyter(网页版交互式解释器,比ipython更为强大):sudo pip3 install ipython notebook
python在数据科学方面需要用到的库:
a。Numpy:科学计算库。提供矩阵运算的库。
b。Pandas:数据分析处理库
c。scipy:数值计算库。提供数值积分和常微分方程组求解算法。提供了一个非常广泛的特定函数集合。
d。Matplotlib:数据可视化库
e。Scikit-learn:机器学习库
模块安装:
1.sudo pip3 install numpy
2.sudo pip3 install pandas
3.sudo pip3 install scipy
4.sudo pip3 install matplotlib