✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What is the value of B after the following Python commands?
A = np.array([[1,2,3],[4,5,6],[7,8,9]])
B = np.hstack((A[:,(0,1)], A[:, 1:2]))