You can slice the dataframe by a equality check
df[df['column'] == 'key']
How do I slice the dataframe via a check into a set?
df[df['column'] in set(['key', 'key2', key3'])]
You can slice the dataframe by a equality check
df[df['column'] == 'key']
How do I slice the dataframe via a check into a set?
df[df['column'] in set(['key', 'key2', key3'])]