Cannot see online and therefore not sure if this is possible? Can I make a query to sql that will compare columns in sql to existing pandas dataframe ?
EDIT: adding more of sample code
df_local = pd.DataFrame(data={'col1': [1, 2], 'col2': [3, 4]})
result = pd.read_sql(
f"""
SELECT * FROM sql_dataset
WHERE sql_dataset.col1 =df.col1
AND
sql_dataset.col2 =df.col2
""" )