首页 > 编程语言 > 详细

《利用python进行数据分析》NumPy基础:数组和矢量计算 学习笔记

时间:2016-04-23 10:09:52      阅读:178      评论:0      收藏:0      [点我收藏+]

一.有关NumPy

(一)官方解释

NumPy is the fundamental package for scientific computing with Python. It contains among other things:

  • a powerful N-dimensional array object
  • sophisticated (broadcasting) functions
  • tools for integrating C/C++ and Fortran code
  • useful linear algebra, Fourier transform, and random number capabilities

Besides its obvious scientific uses, NumPy can also be used as an efficient multi-dimensional container of generic data. Arbitrary data-types can be defined. This allows NumPy to seamlessly and speedily integrate with a wide variety of databases.

(二)书本介绍

NumPy(Numerical Python)是高性能科学计算数据分析的基础包。

(二)NumPy的ndarray:一种多维数组对象

书本p83相关补充:

技术分享

技术分享

shape:表示各维度大小

dtype:用于说明数组数据类型

技术分享

《利用python进行数据分析》NumPy基础:数组和矢量计算 学习笔记

原文:http://www.cnblogs.com/zzhzhao/p/5423872.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!