Matching

Report a typo

Look at the following NumPy array:

array = np.array([[1,  2,  3], 
                  [4,  5,  6], 
                  [7,  8,  9], 
                  [10, 11, 12]])

Match the operations on the left to their results on the right.

Match the items from left and right columns
array.size
array.ndim
array.shape[1]
len(array)
4
3
12
2
___

Create a free account to access the full topic