The dataframe I am using has a column called "NUM_EMPL" which stores the number of employees of a specific company.
As you can see in the picture, those cells contain strings.
Now I have written a piece of code which can sum up one specific cell of that column:
list = buildings.loc[61, 'NUM_EMPL'].split(', ')
int_list = [float(i) for i in list]
print(sum(int_list))
Now I want to do that with every cell and store the sum of every single cell in a new dataframe.
How do I iterate through the cells?