how to get mean of a column in pandas code example Example 1: mean of a column pandas df["Column"].mean() Example 2: calculating mean for pandas column df["columnName"].mean()