Quiz on 2D Numpy Array #1 Consider the following list a , convert it to Numpy Array. In [ ]: # Write your code below and
Posted: Mon May 02, 2022 12:48 pm
Quiz on 2D Numpy Array #1 Consider the following list a , convert it to Numpy Array. In [ ]: # Write your code below and press Shift+Enter to execute a = [[1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12]] #2 Calculate the numpy array size. In [ ]: # Write your code below and press Shift+Enter to execute #3 Access the element on the first row and first and second columns. In ( ): # Write your code below and press Shift+Enter to execute #4 Perform matrix multiplication with the numpy arrays A and B. In [ ]: # Write your code below and press Shift+Enter to execute B = np.array([[0, 1], [1, 0],[1,1], [-1, 0])