Coding / Programming Videos

Post your favorite coding videos and share them with others!

Python Numpy Tutorial for Beginners 3 – Basic properties and Methods in NumPy Array

Download Video link >



Python Numpy Tutorial for Beginners 3 – Basic properties and Methods in NumPy Array

In this Python Numpy Tutorial for Beginners video we will see the Basic properties and Methods in NumPy Array. NumPy array class is ndarray, which has an alias numpy.array.

Numpy – ndarray attributes
———————————————————————
ndarray.shape Dimensions (Rows,Columns)
ndarray.ndim Number of Array Dimensions
ndarray.dtype Data Type
ndarray.itemsize the size of each element in the array, in bytes
ndarray.size: the number of all elements in the array.
ndarray.sum() Array-wise sum
ndarray.min() Array-wise minimum value
ndarray.max(axis=0) Maximum value of specified axis
ndarray.cumsum(axis=0) Cumulative sum of specified axis

NumPy adds a new data structure to Python – the ndarray.
Arrays can have any number of dimensions, including zero (a scalar).
Arrays are typed: np.uint8, np.int64, np.float32, np.float64
———————-Follow———————————————
My Website – http://www.codebind.com
My Blog – https://goo.gl/Nd2pFn
My Facebook Page – https://goo.gl/eLp2cQ
Google+ – https://goo.gl/lvC5FX
Twitter – https://twitter.com/ProgrammingKnow
Pinterest – https://goo.gl/kCInUp
Text Case Converter – https://goo.gl/pVpcwL
——————Facebook Links —————————————-
http://fb.me/ProgrammingKnowledgeLearning/
http://fb.me/AndroidTutorialsForBeginners
http://fb.me/Programmingknowledge
http://fb.me/CppProgrammingLanguage
http://fb.me/JavaTutorialsAndCode
http://fb.me/SQLiteTutorial
http://fb.me/UbuntuLinuxTutorials
http://fb.me/EasyOnlineConverter

source

Bookmark(0)
 

 

View Comments source >

Leave a Reply

Please Login to comment
  Subscribe  
Notify of
Translate »