Skip to content

Commit c13b819

Browse files
Update label and change typo in example
1 parent 32cd67d commit c13b819

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/user_guide/user_defined_functions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. _user_defined_functions:
1+
.. _udf:
22

33
{{ header }}
44

@@ -291,7 +291,7 @@ functions.
291291
def highest_jump(column):
292292
return column.pct_change().max()
293293
294-
temperature.apply(highest_jump)
294+
temperature.agg(highest_jump)
295295
296296
297297
When to use: Use :meth:`agg` for performing custom aggregations, where the operation returns

0 commit comments

Comments
 (0)