Skip to content

Instantly share code, notes, and snippets.

@rahulbanerjee26
Created November 17, 2021 11:04
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 rahulbanerjee26/e2ed122385788051c0ce0b6843830a7f to your computer and use it in GitHub Desktop.
Save rahulbanerjee26/e2ed122385788051c0ce0b6843830a7f to your computer and use it in GitHub Desktop.
emb = {}
for idx,anime in genre_df.iterrows():
key = anime['name']
embedding = anime.to_list()[2:]
emb[key] = embedding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment