I'm trying to extract every skill from job_skills to be attribute and encoding it by zero or one , how i can do that ?
note : im trying to create a data frame but its not worth to fill the data frame manually (the code is below) , im search for method to extract a list from the column . i need to apply ML algorithms on this data
data = [['a', ['Python', 'UI',' Information Technology (IT)','Software Development','GTK','English',' Software Engineering']],
['b', ['Python', 'Relational Databases',' Celery',' VMWare','Django','Continous Integration',' Test Driven Development',' HTTP']],
['c', ['Flask', 'Python',' Celery',' Software Development',' Computer Science','Information Technology (IT)']],
['c', ['Flask', 'Python',' Celery',' Software Development',' Computer Science','Information Technology (IT)']]
]
df1= pd.DataFrame(data, columns=['col1', 'col2'])
pd.get_dummies(df1['col2'].explode()).groupby(level=0).sum()