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
ddof no longer passed for Series.std and Series.var #934
As part of the following commit:
Series.std and Series.var no longer pass along ddof to the nanops.nanvar function.
Also since ddof defaults to 1 in pandas and 0 in numpy.
arr = np.arange(10) s = Series(arr) # False np.std(s) == np.std(arr) # True np.std(s) == np.std(arr, ddof=1)
Which I don't know if it's a bug but it's non-intuitive.