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

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.

主站蜘蛛池模板: 武强县| 资阳市| 广灵县| 涿州市| 民勤县| 湘乡市| 肥乡县| 旺苍县| 绥宁县| 海门市| 黄大仙区| 垫江县| 聊城市| 南充市| 永春县| 天等县| 朔州市| 开化县| 开阳县| 来安县| 罗定市| 酉阳| 文成县| 德昌县| 镇康县| 巴楚县| 三河市| 武胜县| 逊克县| 怀宁县| 利津县| 西充县| 六安市| 莲花县| 洛扎县| 镇远县| 上林县| 安义县| 宝应县| 义马市| 樟树市|