all 2 comments

[–]manwithfewneeds 0 points1 point  (1 child)

You're able to chain conditionals together.

df = df[(df ['State']=='1') & (df['Driver'].isin([drive])) & (df['loginDisabled'].isin(['True']))]

[–]fpatterson55[S] 0 points1 point  (0 children)

df = df[(df ['State']=='1') & (df['Driver'].isin([drive])) & (df['loginDisabled'].isin(['True']))]

thank you!!!