NumPy - Indexing and Slicing
Why does
arr[1, :] return a 1D array when arr is a 2D numpy array?arr[1, :] return a 1D array when arr is a 2D numpy array?15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions