import pandas as pd
df = pd.read_csv("https://dl.dropbox.com/s/88x6mkn38cvejs6/books.csv")
df
Run to view results
ids = [1, 2, 3, 4]
id_users = ['220ec560-d1de-4bc2-895d-146d6442de68']
Run to view results
select * from users where id in {{ id_users | inclause }}
Run to view results
select * from df where bookID in {{ ids | inclause }}
Run to view results