From 38872dc2d8fb86196b2779f81858a017c6a8f632 Mon Sep 17 00:00:00 2001 From: Wuraola Oyewusi Date: Tue, 24 Sep 2019 17:56:08 +0100 Subject: [PATCH] Fix PR02 docstring error in pandas.Series.clip --- pandas/core/generic.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 152983451bc38..eb30affc6a5af 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -7479,7 +7479,10 @@ def clip(self, lower=None, upper=None, axis=None, inplace=False, *args, **kwargs Whether to perform the operation in place on the data. .. versionadded:: 0.21.0 - *args, **kwargs + *args : iterable, optional + Positional argument have no effect but might be accepted + for compatibility with numpy. + **kwargs : mapping, optional Additional keywords have no effect but might be accepted for compatibility with numpy.