# Create a 2D array matrix = np.array([[1, 2, 3], [4, 5, 6]]) print(matrix.shape) # (2, 3) - 2 rows, 3 columns print(matrix.size) # 6 - total elements