Skip to content

Commit bb095a6

Browse files
zhao-zihaojreback
authored andcommitted
change the indent for the pydoc of apply() function. (pandas-dev#20715)
1 parent 75295e1 commit bb095a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/series.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3130,7 +3130,7 @@ def apply(self, func, convert_dtype=True, args=(), **kwds):
31303130
>>> def add_custom_values(x, **kwargs):
31313131
... for month in kwargs:
31323132
... x+=kwargs[month]
3133-
... return x
3133+
... return x
31343134
31353135
>>> series.apply(add_custom_values, june=30, july=20, august=25)
31363136
London 95

0 commit comments

Comments
 (0)