Skip to content

Commit f625730

Browse files
tlynch1315WillAyd
authored andcommitted
remove doc note about apply applying a function to the first element … (#28854)
1 parent 1ef3637 commit f625730

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

pandas/core/frame.py

-8
Original file line numberDiff line numberDiff line change
@@ -6729,14 +6729,6 @@ def apply(
67296729
DataFrame.aggregate: Only perform aggregating type operations.
67306730
DataFrame.transform: Only perform transforming type operations.
67316731
6732-
Notes
6733-
-----
6734-
In the current implementation apply calls `func` twice on the
6735-
first column/row to decide whether it can take a fast or slow
6736-
code path. This can lead to unexpected behavior if `func` has
6737-
side-effects, as they will take effect twice for the first
6738-
column/row.
6739-
67406732
Examples
67416733
--------
67426734

0 commit comments

Comments
 (0)