- Python:Data Analytics and Visualization
- Phuong Vo.T.H Martin Czygan Ashish Kumar Kirthi Raman
- 165字
- 2021-07-09 18:51:36
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.
推薦閱讀
- Word 2000、Excel 2000、PowerPoint 2000上機(jī)指導(dǎo)與練習(xí)
- 樂高機(jī)器人:WeDo編程與搭建指南
- 21天學(xué)通PHP
- SCRATCH與機(jī)器人
- 蕩胸生層云:C語言開發(fā)修行實(shí)錄
- 自動(dòng)控制原理
- CorelDRAW X4中文版平面設(shè)計(jì)50例
- 讓每張照片都成為佳作的Photoshop后期技法
- 構(gòu)建高性能Web站點(diǎn)
- 計(jì)算機(jī)網(wǎng)絡(luò)安全
- Nginx高性能Web服務(wù)器詳解
- Mastering GitLab 12
- 精通LabVIEW程序設(shè)計(jì)
- 機(jī)床電氣控制與PLC
- 基于Proteus的PIC單片機(jī)C語言程序設(shè)計(jì)與仿真