np.argsort

How can I sort 2d array includes only string characters in Python?

How can I sort 2d array includes only string characters in Python? Question: There is an array as below; x=np.array([ [‘0’, ‘0’], [‘1’, ‘1’], [‘7′, ’10’], [‘8′, ’11’], [‘,’, ‘2’], [‘4’, ‘3’], [‘.’, ‘4’], [‘2’, ‘5’], [‘5’, ‘6’], [‘er014’, ‘7’], [‘ww’, ‘8’], [‘*’, ‘9’]]) I used the following codes to sort this array by the …

Total answers: 1