@syed.danish wrote:
Hi,
Currently I am working on megastar contest on AV. Below is the structure of data set :
I want to create new variables for each skill as shown below for two cadidates :
1->['sas','python','r']
2->['r','tableau']
output :I have changed the "Skills" variable in from of a list for each candidate as shown above(for the two candidates), furthermore I have tried
pd.get_dummies
but it is taking each element as different levels.Please suggest the fastest way to do so in Python.
Thanks
Posts: 1
Participants: 1