Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#dictionary for base price per cuisine
c_price = {}
for i in df['cuisine'].unique():
c_price[i] = df[df['cuisine']==i].base_price
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment