Question:
Create Numpy
Author: Jessica RuvalcabaAnswer:
Import numpy as np # Add the NumPy module with alias aName0 = np.array(25) #create a 0_d array aName = np.array([1,2,3,4,5,6,7,8]) # create a 1-D numpy array. Made up of 0-D arrays aName2 = np.array([[1,2,3,4],[5,6,7,8]]) # create a 2-D array. Made up of 1-D arrays
0 / 5 Â (0 ratings)
1 answer(s) in total