- 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.
推薦閱讀
- Cinema 4D R13 Cookbook
- 樂高機器人EV3設(shè)計指南:創(chuàng)造者的搭建邏輯
- Blockchain Quick Start Guide
- Dreamweaver CS3網(wǎng)頁設(shè)計與網(wǎng)站建設(shè)詳解
- 快學(xué)Flash動畫百例
- 數(shù)據(jù)庫原理與應(yīng)用技術(shù)
- 聊天機器人:入門、進(jìn)階與實戰(zhàn)
- 愛犯錯的智能體
- Google SketchUp for Game Design:Beginner's Guide
- Mastering Predictive Analytics with scikit:learn and TensorFlow
- 電動汽車驅(qū)動與控制技術(shù)
- Java組件設(shè)計
- 樂高創(chuàng)意機器人教程(中級 上冊 10~16歲) (青少年iCAN+創(chuàng)新創(chuàng)意實踐指導(dǎo)叢書)
- 單片機原理、應(yīng)用與仿真
- 機器學(xué)習(xí)公式詳解