Skip to content

Commit 1dda5e6

Browse files
committed
TST: GH26055 corrected doc errors and test pep8 errors
1 parent 0c91866 commit 1dda5e6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

doc/source/whatsnew/v0.25.0.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ Groupby/Resample/Rolling
388388
- Ensured that result group order is correct when grouping on an ordered ``Categorical`` and specifying ``observed=True`` (:issue:`25871`, :issue:`25167`)
389389
- Bug in :meth:`pandas.core.window.Rolling.min` and :meth:`pandas.core.window.Rolling.max` that caused a memory leak (:issue:`25893`)
390390
- Bug in :func:`idxmax` and :func:`idxmin` on :meth:`DataFrame.groupby` with datetime column would return incorrect dtype (:issue:`25444`, :issue:`15306`)
391-
- Bug in :meth:`pandas.core.window._Rolling_and_Expanding.count` that did not include axis parameter in constructor call (:issue:`13503`)
391+
- Bug in :meth:`pandas.core.window._Rolling_and_Expanding.count` that did not include axis parameter in constructor call (:issue:`13503`)
392392

393393
Reshaping
394394
^^^^^^^^^

pandas/tests/test_window.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,8 @@ def test_rolling_axis_count(self):
675675
expected = DataFrame({'x': [1.0, 2.0, 2.0], 'y': [1.0, 2.0, 2.0]})
676676
tm.assert_frame_equal(result, expected)
677677

678-
# not specifiying axis and making axis=rows are expected to yeild the same result
678+
# not specifiying axis and making axis=rows
679+
# are expected to yeild the same result
679680
result = df.rolling(2, axis='rows').count()
680681
tm.assert_frame_equal(result, expected)
681682

0 commit comments

Comments
 (0)