@@ -207,9 +207,7 @@ def _get_data_to_aggregate(
207207 1 1 2
208208 2 3 4
209209
210- .. versionchanged:: 1.3.0
211-
212- The resulting dtype will reflect the return value of the aggregating function.
210+ The resulting dtype will reflect the return value of the aggregating function.
213211
214212 >>> s.groupby([1, 1, 2, 2]).agg(lambda x: x.astype(float).min())
215213 1 1.0
@@ -263,11 +261,8 @@ def apply(self, func, *args, **kwargs) -> Series:
263261
264262 Notes
265263 -----
266-
267- .. versionchanged:: 1.3.0
268-
269- The resulting dtype will reflect the return value of the passed ``func``,
270- see the examples below.
264+ The resulting dtype will reflect the return value of the passed ``func``,
265+ see the examples below.
271266
272267 Functions that mutate the passed object can produce unexpected
273268 behavior or errors and are not supported. See :ref:`gotchas.udf-mutation`
@@ -288,9 +283,7 @@ def apply(self, func, *args, **kwargs) -> Series:
288283 its argument and returns a Series. `apply` combines the result for
289284 each group together into a new Series.
290285
291- .. versionchanged:: 1.3.0
292-
293- The resulting dtype will reflect the return value of the passed ``func``.
286+ The resulting dtype will reflect the return value of the passed ``func``.
294287
295288 >>> g1.apply(lambda x: x * 2 if x.name == "a" else x / 2)
296289 a 0.0
@@ -411,10 +404,8 @@ def aggregate(self, func=None, *args, engine=None, engine_kwargs=None, **kwargs)
411404 behavior or errors and are not supported. See :ref:`gotchas.udf-mutation`
412405 for more details.
413406
414- .. versionchanged:: 1.3.0
415-
416- The resulting dtype will reflect the return value of the passed ``func``,
417- see the examples below.
407+ The resulting dtype will reflect the return value of the passed ``func``,
408+ see the examples below.
418409
419410 Examples
420411 --------
@@ -453,10 +444,8 @@ def aggregate(self, func=None, *args, engine=None, engine_kwargs=None, **kwargs)
453444 1 1 2
454445 2 3 4
455446
456- .. versionchanged:: 1.3.0
457-
458- The resulting dtype will reflect the return value of the aggregating
459- function.
447+ The resulting dtype will reflect the return value of the aggregating
448+ function.
460449
461450 >>> s.groupby([1, 1, 2, 2]).agg(lambda x: x.astype(float).min())
462451 1 1.0
@@ -661,8 +650,6 @@ def _wrap_applied_output(
661650 Parrot 25.0
662651 Name: Max Speed, dtype: float64
663652
664- .. versionchanged:: 1.3.0
665-
666653 The resulting dtype will reflect the return value of the passed ``func``,
667654 for example:
668655
@@ -1744,9 +1731,7 @@ class DataFrameGroupBy(GroupBy[DataFrame]):
17441731
17451732 See :ref:`groupby.aggregate.named` for more.
17461733
1747- .. versionchanged:: 1.3.0
1748-
1749- The resulting dtype will reflect the return value of the aggregating function.
1734+ The resulting dtype will reflect the return value of the aggregating function.
17501735
17511736 >>> df.groupby("A")[["B"]].agg(lambda x: x.astype(float).min())
17521737 B
@@ -1837,10 +1822,8 @@ def aggregate(self, func=None, *args, engine=None, engine_kwargs=None, **kwargs)
18371822 behavior or errors and are not supported. See :ref:`gotchas.udf-mutation`
18381823 for more details.
18391824
1840- .. versionchanged:: 1.3.0
1841-
1842- The resulting dtype will reflect the return value of the passed ``func``,
1843- see the examples below.
1825+ The resulting dtype will reflect the return value of the passed ``func``,
1826+ see the examples below.
18441827
18451828 Examples
18461829 --------
@@ -1920,10 +1903,8 @@ def aggregate(self, func=None, *args, engine=None, engine_kwargs=None, **kwargs)
19201903
19211904 See :ref:`groupby.aggregate.named` for more.
19221905
1923- .. versionchanged:: 1.3.0
1924-
1925- The resulting dtype will reflect the return value of the aggregating
1926- function.
1906+ The resulting dtype will reflect the return value of the aggregating
1907+ function.
19271908
19281909 >>> df.groupby("A")[["B"]].agg(lambda x: x.astype(float).min())
19291910 B
@@ -2282,8 +2263,6 @@ def _transform_general(self, func, engine, engine_kwargs, *args, **kwargs):
22822263 4 3.666667 4.0
22832264 5 4.000000 5.0
22842265
2285- .. versionchanged:: 1.3.0
2286-
22872266 The resulting dtype will reflect the return value of the passed ``func``,
22882267 for example:
22892268
0 commit comments