I am trying to extract the data from 15020 to -15431. Is it possible for me to extract such a range? The x value is often different as it is read by a file.
Range
x = 15021,14999,14888,...,0,-1000,-14000,-15431,-14000,-2000,0,1000,7000,15890
# from here to---------------------------here
Here, 15021 is the first value.
-15431 is the minimum value. minimum(x) = -15431
How can I extract data from the first value to the min value?