Data Wrangling with Python Datatable - Replicate Pandas' Map Function
Link to Source data
Task: Create a new column by mapping the values in the city column to the city_state dictionary
from datatable import dt, f
raw_data = {"first_name": ["Jason", "Molly",
"Tina", "Jake", "Amy"],
...
datawrangler.hashnode.dev3 min read