I have a dataframe (df) with lists in several columns. Lists can be empty or include from 0 to N numbers ( I think they are stored as strings numbers)
colA colB from dataframe with lists df
- View in the image below colA and colB
I have a dataframe with 2 columns ID and name and I would like to replace in the initial dataframe all Strings with their names
say this is dfIDs with columns p_Id and p_Name
I am interested in having lists withs strings [Peter, Will] based on ids
Regards