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

一.有关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:用于说明数组数据类型

posted @ 2016-04-23 09:21  小星星☆  阅读(678)  评论(0编辑  收藏  举报