a guest Feb 16th, 2019 107 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- import numpy as np
- a = np.array([1.,2.,3.])
- b = np.array([[1.,2.,3.]])
- #(1, 3)
- #dtype-> It will let you know about the data type of stored values in the array.
- #type-> It will return the type of object associated with the variable
- #<class 'numpy.ndarray'>
RAW Paste Data