I started with a dataset with about 8000 rows of xy data. After a lot of calculations I now have a resulting dataset of about 36 x-axis values representing the locations of peaks and valleys of the original dataset.
What I want to do is take each x-axis value and find the cooresponding y-axis value from the original dataset.
I am doing all of this in scripting. How do I search for a value in a dataset or py dataset?