I am using a.rolling(5).std() to get a std series in a window(size=5, a is a pd.Series)
but i found the result is not what i want.
here is the example: