how to find the average of a column in pandas code example Example: calculating mean for pandas column df["columnName"].mean()