For population standard deviation, set ddof=0, which adjusts the divisor to be the total number of data points.