Панды и оператор

# Loads dataset
df = pd.read_csv('dataset.csv')

# Filter data using & instead of and
filtered_df = df.loc[(df['column1'] == var1) & (df['column2'] == var2)]
alequenildo