Back to Browse

ndarray in python numpy || multidimensional array || array || python || Ak

457 views
Dec 20, 2018
5:44

#numpy.array *********************************************************************** #one dimensional array #import numpy as np #a = np.array([1,2,3]) #print(a) ********************************************************************************* # more than one dimensions #import numpy as np #a = np.array([[1, 2], [3, 4]]) #print(a) ******************************************************************************* # minimum dimensions #import numpy as np #a = np.array([1, 2, 3,4,5], ndmin = 2) #print(a) *************************************************************************** # dtype parameter import numpy as np a = np.array([1, 2, 3], dtype = complex) print(a) *********************************************************************** if you found it usefull please subscribe to my channel if you like this info please like the video and share with your friends so they can learn too

Download

0 formats

No download links available.

ndarray in python numpy || multidimensional array || array || python || Ak | NatokHD