You can use this ‘ | ’ operator:
df[(df < 12) | (df == 15)]
This will check element-wise if value is less than 12 or equal to 15.
You can also use this np.logical_or function.
df[np.logical_or(df<3, df==5)]
For multiple conditions use the logical_or.reduce:
df[np.logical_or.reduce([df<3, df==5])]