Concatenating and sorting a list of list array
Looks like you're passing in both floats and strings into your list.
Try converting the values in b into a float before you concatenate them.
I have a CSV file containing list of postcodes of different persons which involves travelling from one postcode to another for different jobs, a person could travel to 5 postcoodes a day. using numpy array, I got list of list of postcodes.  I then concatenate the list of postcode to get one big list of postcode using a = np.concatenate(b), after which I want to sort it in an alphabetical order, I used : print(np.sort(a)) is gave me error error AxisError: axis -1 is out of bounds for array of dimension 0
I also tried using a.sort() but it is giving me TypeError: '<' not supported between instances of 'float' and 'str'
Please, can someone help