From d07ea959470b8585ec7948acb58506adec6974db Mon Sep 17 00:00:00 2001 From: fshi01 Date: Tue, 27 Jul 2021 10:22:33 -0400 Subject: [PATCH] Fixed GL02 Errors in Documentation --- pandas/core/groupby/generic.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py index 88d1baae86467..a990f800552b7 100644 --- a/pandas/core/groupby/generic.py +++ b/pandas/core/groupby/generic.py @@ -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( @@ -957,7 +958,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")