Skip to content

Instantly share code, notes, and snippets.

@FelixChop
Created August 15, 2018 10:13
Show Gist options
  • Select an option

  • Save FelixChop/e0667c48e2340ff55cb736e6cfd74cd2 to your computer and use it in GitHub Desktop.

Select an option

Save FelixChop/e0667c48e2340ff55cb736e6cfd74cd2 to your computer and use it in GitHub Desktop.
dictionary = {}
for i,row in data.iterrows():
dictionary[row['column_1']] = row['column_2']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment