Python数据分析-初识numpy、pandas、scipy、matplotlib和Scikit-Learn等数据处理库
2020-02-02 00:29
645 查看
1.numpy- 支持多维数组与矩阵的科学计算器包
功能:常用功能16条
a. ndarray-n维数组/矢量的操作。
b. 支持高级大量的n维数组与矩阵的运算。
c. 针对数组运算提供大量的数学函数库。
2.scipy-配合numpy完成对矩阵的计算,因此依赖于numpy,且含多个子模块
功能:常用15个函数
a. 标准导入方式-由于scipy中的函数基本都是numpy的主函数,因此通常不用import scipy
1 import numpy as np 2 from scipy import stats #导入统计功能
b.一些常用功能模块
包括统计,优化,整合,线性代数模块,傅里叶变换,信号和图像处理,常微分方程求解器等等。
3.pandas-建立在numpy之上
a.标注导入方式
1 import numpy as np 2 import pandas as pd
b.n维数组的创建和操作
Series(对映一维数组),DataFrame(对映二维数组),Panel(对映三维数组),Panel4D(对映四维数组),PanelND(多维)等数据结构,常用的是Series和DataFrame。
4.matplotlib-数据的可视化,用于画图操作,内包含多个模块
功能:绘制散点图、条形图等二维图、pyplot等常用模块
a.标注导入方式-依赖于numpy
1 import numpy as np 2 import matplot as plt
b. statsmodel可以补充scipy.stats,而且支持时间序列
5.Scikit-Learn-包含大量机器学习算法、数据集
功能:Python开发的机器学习库,是数据挖掘方便的工具,需要在NumPy和SciPy基础上安装。
a.导入算法方式
1 from sklearn import linear_model#导入线性回归模型
转载于:https://www.cnblogs.com/Pygoupfs/p/9100061.html
- 点赞
- 收藏
- 分享
- 文章举报
相关文章推荐
- python3.6中安装numpy,pandas,scipy,scikit_learn,matplotlib等数据分析工具
- windows 安装python3.6(numpy,scipy,pandas,matplotlib,scikit-learn)
- Ubuntu16.04安装Python的数据分析库numpy,pandas,scipy,matplotlib
- python3.6下安装(numpy,scipy,pandas,matplotlib,scikit-learn)
- windows 安装python3.6(numpy,scipy,pandas,matplotlib,scikit-learn)
- windows 安装python3.6(numpy,scipy,pandas,matplotlib,scikit-learn)
- windows 安装python3.6(numpy,scipy,pandas,matplotlib,scikit-learn)
- windows 安装python3.6(numpy,scipy,pandas,matplotlib,scikit-learn)
- windows 安装python3.6(numpy,scipy,pandas,matplotlib,scikit-learn)
- 学习Python数据分析(1)----numpy,Pandas,matplotlib,scipy 的安装
- 安装基于Python3 的NumPy, SciPy, matplotlib和Scikit-Learn
- win7 安装openCV Python 与 Numpy,Scipy,Matplotlib,Scikit-Learn包
- Python机器学习Numpy, Scipy, Pandas, Scikit-learn, Matplotlib, Keras, NN速查手册
- 常用数据分析库Numpy、Scipy、Pandas 、matplotlib和nltk、igraph、Scikit-learn 简介
- python及相关模块库的安装教程,例如pygame,Numpy, Scipy, matplotlib和scikit-learn等模块sklearn库
- win7下安装Python,numpy,matplotlib,scipy,scikit-learn等机器视觉工具包
- python数据分析学习笔记-Numpy-Matplotlib-Pandas
- 机器学习-Python scikit-learn 安装numpy,SciPy,matplotlib
- 机器学习的相关模块安装:pandas,numpy, scipy,scikit_learn(sklearn), matplotlib在winows系统下的安装问题
- win7 64+python2.7.12安装numpy+scipy+matplotlib+scikit-learn