SciPy - Basics and Scientific Computing
Given a 2D NumPy array
arr = np.array([[1, 2, 3], [4, 5, 6]]), which code correctly extracts the second column as a 1D array?