Jun-29-2018, 02:28 PM
I think this is what you want...
filterreddata = df[abs(df['X'] - Fltr) < tol] filteredions = df[np.in1d(df['Ion N'], filterreddata['Ion N'])]