NumPy - Array Manipulation
You have a dataset of 24 values representing 6 samples with 4 features each stored in a 1D numpy array. How do you reshape it to a 2D array with samples as rows and features as columns?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions