Skip to content

Instantly share code, notes, and snippets.

@MartinWeiss12
Created December 11, 2023 19:54
Show Gist options
  • Save MartinWeiss12/9113d138c1b38a398fc3eb7b95f45710 to your computer and use it in GitHub Desktop.
Save MartinWeiss12/9113d138c1b38a398fc3eb7b95f45710 to your computer and use it in GitHub Desktop.
Map and Merge DataFrames
track_artist_album_df['Artist Image URL'] = track_artist_album_df['Artist URI'].map(unique_artist_image_url_dict)
merged_track_artist_album_url_df = pd.merge(cleaned_df, track_artist_album_df, on='Track URI', how='left')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment