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