Skip to content

Commit d745960

Browse files
DOC: fix SA01 for pandas.core.resample.Resampler.__iter__
1 parent ba37d63 commit d745960

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/core/groupby/groupby.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -769,15 +769,15 @@ def __iter__(self) -> Iterator[tuple[Hashable, NDFrameT]]:
769769
770770
This method provides an iterator over the groups created by the ``resample``
771771
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.
772+
the first element is the label (group key) corresponding to each group or
773+
resampled bin, and the second element is the subset of the data that falls
774+
within that group or bin.
775775
776776
Returns
777777
-------
778778
Iterator
779779
Generator yielding a sequence of (name, subsetted object)
780-
for each resampled group.
780+
for each group.
781781
782782
See Also
783783
--------

0 commit comments

Comments
 (0)