Skip to content

Commit e2616db

Browse files
DOC: fix SA01 for pandas.core.resample.Resampler.__iter__
1 parent 8b37394 commit e2616db

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

pandas/core/groupby/groupby.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -767,10 +767,11 @@ def __iter__(self) -> Iterator[tuple[Hashable, NDFrameT]]:
767767
"""
768768
Groupby iterator.
769769
770-
This method provides an iterator over the groups created by the resampling
771-
operation on the object. The method yields tuples where the first element
772-
is the label (group key) corresponding to each resampled bin, and the second
773-
element is the subset of the data that falls within that bin.
770+
This method provides an iterator over the groups created by the ``resample``
771+
or ``groupby`` operation on the object. The method yields tuples where
772+
the first element is the label (group key) corresponding to each resampled
773+
bin, and the second element is the subset of the data that falls within that
774+
bin.
774775
775776
Returns
776777
-------

0 commit comments

Comments
 (0)