Skip to content

Commit 7e1ac6a

Browse files
author
Sebastian Goldmann
committed
updated whatsnew docstring
1 parent b74c98a commit 7e1ac6a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/source/whatsnew/v2.3.3.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ Bug fixes
5353
characters as digits for :class:`StringDtype` backed by PyArrow (:issue:`61466`)
5454
- Fix comparing a :class:`StringDtype` Series with mixed objects raising an error (:issue:`60228`)
5555
- Fix error being raised when using a numpy ufunc with a Python-backed string array (:issue:`40800`)
56+
- Fix bug in :meth:`Series.rolling` and :meth:`DataFrame.rolling` ``skew()`` and ``kurt()`` calculations
57+
that produced incorrect values for windows containing variance of zero.
58+
The implementation has been updated to return ``NaN`` in these cases, matching skipy.stats behavior
59+
and the non-rolling :meth:`Series.skew` and :meth:`Series.kurt` received the same behavior ensuring consistency. (:issue:`62864`)
5660

5761
Other changes
5862
~~~~~~~~~~~~~

0 commit comments

Comments
 (0)