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.