码迷,mamicode.com
首页 >  
搜索关键字:Numpy    ( 4513个结果
python numpy包
在numpy包中我们可以用数组来表示向量,矩阵和高阶数据结构 首先导入numpy包: from numpy import* 初始化numpy数组有多种方式,比如说 1.python列表或元祖 2.使用arrange,linspace函数 3.从文件中读取数据 例:列表生成numpy数组: v=arr ...
分类:编程语言   时间:2016-06-07 12:54:18    阅读次数:273
matplotlib应用
matplotlib是数据分析时常用的作图代码,此例中依赖上级库numpy ...
分类:其他好文   时间:2016-06-07 12:43:28    阅读次数:188
DataFrame转矩阵Np-Array
DataFrame.as_matrix(columns=None)¶ Convert the frame to its Numpy-array representation. ...
分类:其他好文   时间:2016-06-06 06:53:38    阅读次数:2542
根据某列,将两个 dataframe 合并
import pandas as pd import numpy as np df1 = pd.DataFrame(np.array([['a', 5, 9], ['b', 4, 61], ['c', 24, 9]]), columns = ['name', 'attr11', 'attr12'])... ...
分类:其他好文   时间:2016-06-05 06:32:27    阅读次数:1697
pandas安装过程中提示unable to find vcvarsall.bat的解决方法
转载自:http://blog.csdn.net/qq_21144699/article/details/46849561 为这位老兄点赞 原帖参考:http://stackoverflow.com/questions/29580010/installing-numpy-on-windows-8-1 ...
分类:其他好文   时间:2016-06-04 10:25:44    阅读次数:383
Python科学计算(二)windows下开发环境搭建(当用pip安装出现Unable to find vcvarsall.bat)
用于科学计算Python语言真的是amazing! 方法一:直接安装集成好的软件 刚开始使用numpy、scipy这些模块的时候,图个方便直接使用了一个叫做Enthought的软件。Enthought是一家位于美国得克萨斯州首府奥斯汀的软件公司,主要使用Python从事科学计算工具的开发。Entho ...
分类:编程语言   时间:2016-06-02 21:38:34    阅读次数:232
python绘图(一)
入python绘图坑 今天开始机器学习。 赶快学会matplotlib,numpy和scipy里的一万个函数 这里是matplotlib官网例程 让我嘚瑟一下 哈哈哈,小破图比Excel好看多了 ...
分类:编程语言   时间:2016-06-01 01:26:53    阅读次数:208
[Python] 安装pip与Numpy
原因:扒拉二三个月,才终于成功安装Numpy.whl,狗血 1:由于没有找到Numpy.exe,却找到了Numpy.whl 2:在微软操作系统中使用.exe文件,可以直接安装软件,而.whl却无法直接在微软操作系统下安装 1)前提条件:先下载Numpy.whl 、Python.exe 下载链接:ht ...
分类:编程语言   时间:2016-06-01 00:12:54    阅读次数:733
用pandas分析百万电影数据
##用pandas分析电影数据Lift is short, use Python.用Python做数据分析,pandas是Python数据分析的重要包,其他重要的包:numpy、matplotlib .安装pandas(Linux, Mac, Windows皆同):pip install pandas电影数据来源:http://grouplens.org/datasets/movielens/ 下载...
分类:其他好文   时间:2016-05-30 14:49:35    阅读次数:546
《Python数据分析常用手册》一、NumPy和Pandas篇
一、常用链接: 1.Python官网:https://www.python.org/ 2.各种库的whl离线安装包:http://www.lfd.uci.edu/~gohlke/pythonlibs/#scikit-learn 一、常用链接: 3.数据分析常用库的离线安装包(pip+wheels)( ...
分类:编程语言   时间:2016-05-30 00:49:24    阅读次数:17677
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!