From 466b62ac5b8a0ee9bf13235f461a2087d5096730 Mon Sep 17 00:00:00 2001 From: Zihao Zhao Date: Mon, 16 Apr 2018 15:16:42 -0700 Subject: [PATCH] change the indent for the pydoc of apply() function. --- pandas/core/series.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/series.py b/pandas/core/series.py index 1d6f770d92795..2ed4c99b7a998 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -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