- Getting Started with Python Data Analysis
- Phuong Vo.T.H Martin Czygan
- 165字
- 2021-07-09 21:02:32
Chapter 2. NumPy Arrays and Vectorized Computation
NumPy is the fundamental package supported for presenting and computing data with high performance in Python. It provides some interesting features as follows:
- Extension package to Python for multidimensional arrays (
ndarrays
), various derived objects (such as masked arrays), matrices providing vectorization operations, and broadcasting capabilities. Vectorization can significantly increase the performance of array computations by taking advantage of Single Instruction Multiple Data (SIMD) instruction sets in modern CPUs. - Fast and convenient operations on arrays of data, including mathematical manipulation, basic statistical operations, sorting, selecting, linear algebra, random number generation, discrete Fourier transforms, and so on.
- Efficiency tools that are closer to hardware because of integrating C/C++/Fortran code.
NumPy is a good starting package for you to get familiar with arrays and array-oriented computing in data analysis. Also, it is the basic step to learn other, more effective tools such as Pandas, which we will see in the next chapter. We will be using NumPy version 1.9.1.
推薦閱讀
- Learn ECMAScript(Second Edition)
- 新一代通用視頻編碼H.266/VVC:原理、標準與實現
- WebAssembly實戰
- 從Excel到Python:用Python輕松處理Excel數據(第2版)
- PHP編程基礎與實踐教程
- Maven for Eclipse
- Get Your Hands Dirty on Clean Architecture
- Node.js 6.x Blueprints
- Arduino Electronics Blueprints
- Python全棧開發:數據分析
- Swift 2 Blueprints
- Practical Linux Security Cookbook
- 多接入邊緣計算實戰
- Java程序設計基礎教程
- Ionic Framework By Example