Created
June 6, 2021 12:38
-
-
Save lauramsfernandes/0a6896911d207b433a3aa57e1d8786b7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
reverse_length_mapping = {v: k for k, vi in length_mapping.items()} | |
df['Length'] = df['Length'].map(reverse_length_mapping) | |
df |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment