Skip to content

Instantly share code, notes, and snippets.

@aniruddha27
Created March 12, 2020 17:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aniruddha27/63806400d0b26492ee5cf3cdfcc770b8 to your computer and use it in GitHub Desktop.
Save aniruddha27/63806400d0b26492ee5cf3cdfcc770b8 to your computer and use it in GitHub Desktop.
#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