I am new with python, and have a dataset as below:
package_name,name,starttime,duration
com.instagram.android,Instagram,2020-10-19 21:18:57.527,0.116
com.instagram.android,Instagram,2020-10-19 21:26:42.613,3.945
com.facebook.katana,Facebook,2020-10-19 21:26:45.050,1.277
,sudoku,2020-10-30 20:20:45.050,25.277
I am trying to add column that contains the category of the application. For example: Facebook and Instagram = 'communication', sudoku = 'games', ...
How can I accomplish this on a very large dataset?