Skip to content

Commit 4800ea6

Browse files
author
pdpark
committed
Doc: Makes requested changes to wording.
Resolves: #14180
1 parent cf250a8 commit 4800ea6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/groupby.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -944,15 +944,15 @@ that is itself a series, and possibly upcast the result to a DataFrame:
944944
So depending on the path taken, and exactly what you are grouping. Thus the grouped columns(s) may be included in
945945
the output as well as set the indices.
946946

947-
.. warnings::
947+
.. warning::
948948

949949
* In the current implementation apply calls func twice on the
950950
first group to decide whether it can take a fast or slow code
951951
path. This can lead to unexpected behavior if func has
952952
side-effects, as they will take effect twice for the first
953953
group.
954954

955-
* Apply should not perform in-place operations on the group chunk.
955+
* Apply should not apply functions to the group chunk.
956956
Group chunks should be treated as immutable, and changes to a
957957
group chunk may produce unexpected results.
958958

0 commit comments

Comments
 (0)