Hi I have an array with X amount of values in it I would like to locate the indexs of the ten smallest values. In this link they calculated the maximum effectively, How to get i
This code save 20 index of maximum element of split_list in Twenty_Maximum:
split_list
Twenty_Maximum
Twenty_Maximum = split_list.argsort()[-20:]
against this code save 20 index of minimum element of split_list in Twenty_Minimum:
Twenty_Minimum
Twenty_Minimum = split_list.argsort()[:20]