This is the output of a code run, and i would like to know how am i able to count the sum of values of the column 'age' in this table output
value | age | change | |
---|---|---|---|
Car | 110 | 10 | 1 |
Drum | 46 | 3 | 0 |
Bottle | 12 | 510 | 1 |
Shoes | 80 | 29 | 1 |
This is the output of a code run, and i would like to know how am i able to count the sum of values of the column 'age' in this table output
value | age | change | |
---|---|---|---|
Car | 110 | 10 | 1 |
Drum | 46 | 3 | 0 |
Bottle | 12 | 510 | 1 |
Shoes | 80 | 29 | 1 |
df['age'].sum()
(considering that the table is called df
)