I have a simple question about the .shape function, which confused me a lot.
a = np.array([1, 2, 3]) # Create a rank 1 array print(type(a)) # P
array([[1, 2, 3], [4, 5, 6], [7, 8, 9]])