- 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.
推薦閱讀
- 大學計算機基礎:基礎理論篇
- Deep Learning Quick Reference
- 大數(shù)據(jù)專業(yè)英語
- Getting Started with Clickteam Fusion
- TIBCO Spotfire:A Comprehensive Primer(Second Edition)
- 計算機網(wǎng)絡應用基礎
- 計算機網(wǎng)絡技術基礎
- Maya極速引擎:材質篇
- 機器學習流水線實戰(zhàn)
- Apache Superset Quick Start Guide
- 信息物理系統(tǒng)(CPS)測試與評價技術
- 智慧未來
- Deep Learning Essentials
- 項目實踐精解:C#核心技術應用開發(fā)
- 從機器學習到無人駕駛