@@ -251,9 +251,7 @@ def _get_data_to_aggregate(
251251 1 1 2
252252 2 3 4
253253
254- .. versionchanged:: 1.3.0
255-
256- The resulting dtype will reflect the return value of the aggregating function.
254+ The resulting dtype will reflect the return value of the aggregating function.
257255
258256 >>> s.groupby([1, 1, 2, 2]).agg(lambda x: x.astype(float).min())
259257 1 1.0
@@ -307,11 +305,8 @@ def apply(self, func, *args, **kwargs) -> Series:
307305
308306 Notes
309307 -----
310-
311- .. versionchanged:: 1.3.0
312-
313- The resulting dtype will reflect the return value of the passed ``func``,
314- see the examples below.
308+ The resulting dtype will reflect the return value of the passed ``func``,
309+ see the examples below.
315310
316311 Functions that mutate the passed object can produce unexpected
317312 behavior or errors and are not supported. See :ref:`gotchas.udf-mutation`
@@ -332,9 +327,7 @@ def apply(self, func, *args, **kwargs) -> Series:
332327 its argument and returns a Series. `apply` combines the result for
333328 each group together into a new Series.
334329
335- .. versionchanged:: 1.3.0
336-
337- The resulting dtype will reflect the return value of the passed ``func``.
330+ The resulting dtype will reflect the return value of the passed ``func``.
338331
339332 >>> g1.apply(lambda x: x * 2 if x.name == "a" else x / 2)
340333 a 0.0
@@ -455,10 +448,8 @@ def aggregate(self, func=None, *args, engine=None, engine_kwargs=None, **kwargs)
455448 behavior or errors and are not supported. See :ref:`gotchas.udf-mutation`
456449 for more details.
457450
458- .. versionchanged:: 1.3.0
459-
460- The resulting dtype will reflect the return value of the passed ``func``,
461- see the examples below.
451+ The resulting dtype will reflect the return value of the passed ``func``,
452+ see the examples below.
462453
463454 Examples
464455 --------
@@ -497,10 +488,8 @@ def aggregate(self, func=None, *args, engine=None, engine_kwargs=None, **kwargs)
497488 1 1 2
498489 2 3 4
499490
500- .. versionchanged:: 1.3.0
501-
502- The resulting dtype will reflect the return value of the aggregating
503- function.
491+ The resulting dtype will reflect the return value of the aggregating
492+ function.
504493
505494 >>> s.groupby([1, 1, 2, 2]).agg(lambda x: x.astype(float).min())
506495 1 1.0
@@ -705,8 +694,6 @@ def _wrap_applied_output(
705694 Parrot 25.0
706695 Name: Max Speed, dtype: float64
707696
708- .. versionchanged:: 1.3.0
709-
710697 The resulting dtype will reflect the return value of the passed ``func``,
711698 for example:
712699
@@ -1788,9 +1775,7 @@ class DataFrameGroupBy(GroupBy[DataFrame]):
17881775
17891776 See :ref:`groupby.aggregate.named` for more.
17901777
1791- .. versionchanged:: 1.3.0
1792-
1793- The resulting dtype will reflect the return value of the aggregating function.
1778+ The resulting dtype will reflect the return value of the aggregating function.
17941779
17951780 >>> df.groupby("A")[["B"]].agg(lambda x: x.astype(float).min())
17961781 B
@@ -1881,10 +1866,8 @@ def aggregate(self, func=None, *args, engine=None, engine_kwargs=None, **kwargs)
18811866 behavior or errors and are not supported. See :ref:`gotchas.udf-mutation`
18821867 for more details.
18831868
1884- .. versionchanged:: 1.3.0
1885-
1886- The resulting dtype will reflect the return value of the passed ``func``,
1887- see the examples below.
1869+ The resulting dtype will reflect the return value of the passed ``func``,
1870+ see the examples below.
18881871
18891872 Examples
18901873 --------
@@ -1964,10 +1947,8 @@ def aggregate(self, func=None, *args, engine=None, engine_kwargs=None, **kwargs)
19641947
19651948 See :ref:`groupby.aggregate.named` for more.
19661949
1967- .. versionchanged:: 1.3.0
1968-
1969- The resulting dtype will reflect the return value of the aggregating
1970- function.
1950+ The resulting dtype will reflect the return value of the aggregating
1951+ function.
19711952
19721953 >>> df.groupby("A")[["B"]].agg(lambda x: x.astype(float).min())
19731954 B
@@ -2326,8 +2307,6 @@ def _transform_general(self, func, engine, engine_kwargs, *args, **kwargs):
23262307 4 3.666667 4.0
23272308 5 4.000000 5.0
23282309
2329- .. versionchanged:: 1.3.0
2330-
23312310 The resulting dtype will reflect the return value of the passed ``func``,
23322311 for example:
23332312
0 commit comments