- 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.
推薦閱讀
- Building Modern Web Applications Using Angular
- Redis Applied Design Patterns
- Instant Zepto.js
- UI智能化與前端智能化:工程技術(shù)、實(shí)現(xiàn)方法與編程思想
- RISC-V體系結(jié)構(gòu)編程與實(shí)踐(第2版)
- 快人一步:系統(tǒng)性能提高之道
- Clojure Reactive Programming
- Learning Laravel's Eloquent
- Java面向?qū)ο蟪绦蛟O(shè)計(jì)
- OpenGL Data Visualization Cookbook
- Spring MVC+MyBatis開發(fā)從入門到項(xiàng)目實(shí)踐(超值版)
- Xamarin Blueprints
- Practical Microservices
- Learning Android Application Testing
- Application Development with Parse using iOS SDK