Published on
· Data Independent

Pandas Standard Deviation | pd.Series.std()

This post is auto-generated from a public YouTube video for personal study notes. It is not an endorsement. The transcript is machine-derived and may contain errors; refer to the original video for accuracy.

About this video

Standard deviation is the amount of variance you have in your data. It is measured in the same units as your data points (dollars, temperature, minutes, etc.).

To find standard deviation in pandas, you simply call .std() on your Series or DataFrame

pandas.DataFrame.std() pandas.Series.std()

I do this most often when I'm working with anomaly detection. I'm trying to find the outliers of a specific dataset.

For example: If I'm looking at a time series of temperature readings per day, which days were 'out of the ordinarily hot'? Looking at standard deviation would help me with this.

Loading transcript…