Task: Add Column to DataFrame by Mapping Values from a List
Task: Add Column to DataFrame by Mapping Values from a List: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Python script that adds a new column to a pandas DataFrame by using values from an existing column as indices to look up values from a list.
The task
You need to write a Python script that adds a new column to a pandas DataFrame by using values from an existing column as indices to look up values from a list.
Part of PrimeIntellect/Terminal-Lego-15k.