From bd1ba21a4ff92c5c46f150a5d69a8d03e60492f4 Mon Sep 17 00:00:00 2001 From: Chapman Siu Date: Sat, 6 Apr 2013 16:44:04 +1100 Subject: [PATCH] DOC: update scipy.py #2916 renamed interpolation -> interpolation_method. --- pandas/compat/scipy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/compat/scipy.py b/pandas/compat/scipy.py index aab8bd89c5af4..59a9bbdfbdb9e 100644 --- a/pandas/compat/scipy.py +++ b/pandas/compat/scipy.py @@ -30,13 +30,13 @@ def scoreatpercentile(a, per, limit=(), interpolation_method='fraction'): limit : tuple, optional Tuple of two scalars, the lower and upper limits within which to compute the percentile. - interpolation : {'fraction', 'lower', 'higher'}, optional + interpolation_method : {'fraction', 'lower', 'higher'}, optional This optional parameter specifies the interpolation method to use, when the desired quantile lies between two data points `i` and `j`: - fraction: `i + (j - i)*fraction`, where `fraction` is the fractional part of the index surrounded by `i` and `j`. - -lower: `i`. + - lower: `i`. - higher: `j`. Returns