Please enable JavaScript.
Coggle requires JavaScript to display documents.
NumPy - Coggle Diagram
NumPy
Array
-
-
-
-
-
np.arange(number)
-
np.arange(number,number2)
-
np.arange(number,number2,number3)
-
arrayname.reshape((3,4))
reshapes the arrayname matrix into a (3x4 ie.3 rows,4 columns) matrix
-
-
ndarray.shape
returns no of rows and columns (rows,columns) in the matrix
-
-
-
-
-
-
-
-
-
-
-
-
-
Broadcasting
Numpy uses broadcasting to carry out arithmetic operations be arrays of different shapes. In this method, Numpy automatically broadcasts the smaller array over the larger array
-