Slice pandas DataFrame where column's value exists in another array,df[df.a.isin(keys)]