From 8fed0f24b3b9f6e13a1be56a7dd1072e5c8be741 Mon Sep 17 00:00:00 2001 From: WANG Aiyong Date: Fri, 1 Apr 2016 14:42:42 +0800 Subject: [PATCH] Update groupby.rst --- doc/source/groupby.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/groupby.rst b/doc/source/groupby.rst index 02d4a924a92fc..5d82b4f95487f 100644 --- a/doc/source/groupby.rst +++ b/doc/source/groupby.rst @@ -747,7 +747,7 @@ The dimension of the returned result can also change: .. ipython:: python def f(x): - return pd.Series([ x, x**2 ], index = ['x', 'x^s']) + return pd.Series([ x, x**2 ], index = ['x', 'x^2']) s = pd.Series(np.random.rand(5)) s s.apply(f)