mean dataframe python get values code example Example: calculating mean for pandas column df["columnName"].mean()