Question: 1 # Load necessary package 2 import numpy as np 4 # Create array 5 exArray = np.array([['n', 'v'], ['w', '1'], ['f', 'g'], ['r', 'p'],

1 # Load necessary package 2 import numpy as np 4 # Create array 5 exArray = np.array([['n', 'v'], ['w', '1'], ['f', 'g'], ['r', 'p'], ['m', 'x']]) 6 7 # Sort array I 8 exArray = np. sort(exArray, axis=0) 9 10 # Print the array 11 print (exArray)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!