plydata.utils.
first2
Find first value of y when sorted by x
Values
object
Last value of y when sorted by x
See also
reorder2
Examples
>>> x = [1, 2, 3, -99, 5, 6] >>> y = [1, 2, 3, 4, 5, 6] >>> first2(x, y) 4 >>> first2(x, y[::-1]) 3