Subset df: column value is in list

 avatar
user_6939821
python
a year ago
111 B
0
Indexable
Never
a_brands = ['acabion', 'access', 'ace', 'adiva']

bikes_a_br_df = bikes_df[bikes_df['Brand'].isin(a_brands)]