Skip to content

Commit 69a1155

Browse files
authored
Fixed GL02 Errors in Documentation (#42809)
1 parent 0c996fd commit 69a1155

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pandas/core/groupby/generic.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,8 @@ def _iterate_slices(self) -> Iterable[Series]:
210210
>>> s.groupby([1, 1, 2, 2]).agg(lambda x: x.astype(float).min())
211211
1 1.0
212212
2 3.0
213-
dtype: float64"""
213+
dtype: float64
214+
"""
214215
)
215216

216217
@Appender(
@@ -975,7 +976,8 @@ class DataFrameGroupBy(GroupBy[DataFrame]):
975976
B
976977
A
977978
1 1.0
978-
2 3.0"""
979+
2 3.0
980+
"""
979981
)
980982

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

0 commit comments

Comments
 (0)