Skip to content

Commit

Permalink
Fixed GL02 Errors in Documentation (pandas-dev#42809)
Browse files Browse the repository at this point in the history
  • Loading branch information
fshi01 authored Aug 6, 2021
1 parent 0c996fd commit 69a1155
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pandas/core/groupby/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@ def _iterate_slices(self) -> Iterable[Series]:
>>> s.groupby([1, 1, 2, 2]).agg(lambda x: x.astype(float).min())
1 1.0
2 3.0
dtype: float64"""
dtype: float64
"""
)

@Appender(
Expand Down Expand Up @@ -975,7 +976,8 @@ class DataFrameGroupBy(GroupBy[DataFrame]):
B
A
1 1.0
2 3.0"""
2 3.0
"""
)

@doc(_agg_template, examples=_agg_examples_doc, klass="DataFrame")
Expand Down

0 comments on commit 69a1155

Please sign in to comment.