Last active
February 11, 2022 04:16
-
-
Save kvnkho/3401e3283e77f33216d6fd1c800a7c60 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
| import pandas as pd | |
| from typing import Dict | |
| input_df = pd.DataFrame({"id":[0,1,2], "value": (["A", "B", "C"])}) | |
| mapping = {"A": "Apple", "B": "Banana", "C": "Carrot"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment