diff --git a/pandas/core/series.py b/pandas/core/series.py index e4dca97bc645d..626fcd47764e7 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -2820,8 +2820,8 @@ def quantile( This optional parameter specifies the interpolation method to use, when the desired quantile lies between two data points `i` and `j`: - * linear: `i + (j - i) * fraction`, where `fraction` is the - fractional part of the index surrounded by `i` and `j`. + * linear: `i + (j - i) * (x-i)/(j-i)`, where `(x-i)/(j-i)` is + the fractional part of the index surrounded by `i > j`. * lower: `i`. * higher: `j`. * nearest: `i` or `j` whichever is nearest.