Skip to content

Commit

Permalink
change the indent for the pydoc of apply() function. (pandas-dev#20715)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhao-zihao authored and jreback committed Apr 17, 2018
1 parent 75295e1 commit bb095a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/core/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -3130,7 +3130,7 @@ def apply(self, func, convert_dtype=True, args=(), **kwds):
>>> def add_custom_values(x, **kwargs):
... for month in kwargs:
... x+=kwargs[month]
... return x
... return x
>>> series.apply(add_custom_values, june=30, july=20, august=25)
London 95
Expand Down

0 comments on commit bb095a6

Please sign in to comment.