To calculate the sum of values in a dataframe column in Python, simply use the sum() function on the column. In the example given, the sum of values in column 'C' would be 24.

A.I. Evaluation of the Solution

The candidate's solution is correct and efficient.

Evaluated at: 2022-11-23 06:16:38