官术网_书友最值得收藏!

NumPy

NumPy, which is Travis Oliphant's creation, is the true analytical workhorse of the Python language. It provides the user with multidimensional arrays, along with a large set of functions to operate a multiplicity of mathematical operations on these arrays. Arrays are blocks of data that are arranged along multiple dimensions, which implement mathematical vectors and matrices. Characterized by optimal memory allocation, arrays are useful—not just for storing data, but also for fast matrix operations (vectorization), which are indispensable when you wish to solve ad hoc data science problems:

  • Website: http://www.numpy.org/
  • Version at the time of print: 1.12.1
  • Suggested install command: pip install numpy

As a convention largely adopted by the Python community, when importing NumPy, it is suggested that you alias it as np:

import numpy as np

We will be doing this throughout the course of this book.

主站蜘蛛池模板: 江城| 崇明县| 体育| 泰来县| 临沂市| 绥中县| 含山县| 宣城市| 元江| 攀枝花市| 宾阳县| 清徐县| 武胜县| 大安市| 同心县| 宜兴市| 石景山区| 平乐县| 伽师县| 秦皇岛市| 微山县| 广河县| 新河县| 甘南县| 康平县| 通榆县| 鸡西市| 韩城市| 达拉特旗| 仁寿县| 郑州市| 台中县| 贡嘎县| 普兰店市| 哈尔滨市| 汶上县| 肥城市| 漳浦县| 乐都县| 武安市| 莒南县|