Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
rolling_* with min_periods=0 #365
I ran into a minor gotcha with the rolling_* methods, below is some ipython output to illustrate.
In : df
In : pandas.rolling_max(df,window=df.shape,min_periods=0)
In : pandas.rolling_max(df,window=df.shape,min_periods=1)