diff --git a/ci/code_checks.sh b/ci/code_checks.sh index e7509760bfde9..ee989604534f5 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -113,7 +113,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.Series.dt.ceil\ pandas.Series.dt.month_name\ pandas.Series.dt.day_name\ - pandas.Series.str.count\ pandas.Series.str.wrap\ pandas.Series.cat.rename_categories\ pandas.Series.cat.reorder_categories\ @@ -126,7 +125,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.Series.plot.line\ pandas.Series.plot.pie\ pandas.DataFrame.clip\ - pandas.DataFrame.interpolate\ pandas.DataFrame.plot\ pandas.DataFrame.plot.bar\ pandas.DataFrame.plot.barh\ @@ -185,7 +183,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.Interval\ pandas.Grouper\ pandas.core.groupby.SeriesGroupBy.apply\ - pandas.core.groupby.DataFrameGroupBy.apply\ pandas.core.groupby.SeriesGroupBy.transform\ pandas.core.groupby.DataFrameGroupBy.transform\ pandas.core.groupby.DataFrameGroupBy.nth\ @@ -201,7 +198,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.HDFStore.append\ pandas.core.window.rolling.Rolling.quantile\ pandas.core.window.expanding.Expanding.quantile\ - pandas.core.resample.Resampler.interpolate\ pandas.api.extensions.ExtensionArray.argsort # There should be no backslash in the final line, please keep this comment in the last ignored function RET=$(($RET + $?)) ; echo $MSG "DONE" diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 2fe1f4a3bcf7c..0ebdcf1947f7f 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -8296,7 +8296,7 @@ def interpolate( .. deprecated:: 2.1.0 - ``**kwargs`` : optional + **kwargs : optional Keyword arguments to pass on to the interpolating function. Returns diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py index d86062e35a20c..b2afaffc267fa 100644 --- a/pandas/core/groupby/groupby.py +++ b/pandas/core/groupby/groupby.py @@ -192,6 +192,10 @@ class providing the base-class of operations. A callable that takes a {input} as its first argument, and returns a dataframe, a series or a scalar. In addition the callable may take positional and keyword arguments. + + *args : tuple + Optional positional arguments to pass to ``func``. + include_groups : bool, default True When True, will attempt to apply ``func`` to the groupings in the case that they are columns of the DataFrame. If this raises a @@ -205,8 +209,8 @@ class providing the base-class of operations. Setting include_groups to True is deprecated. Only the value False will be allowed in a future version of pandas. - args, kwargs : tuple and dict - Optional positional and keyword arguments to pass to ``func``. + **kwargs : dict + Optional keyword arguments to pass to ``func``. Returns ------- diff --git a/pandas/core/resample.py b/pandas/core/resample.py index 2bc1d3f7227cf..082196abc17c2 100644 --- a/pandas/core/resample.py +++ b/pandas/core/resample.py @@ -1028,7 +1028,7 @@ def interpolate( .. deprecated:: 2.1.0 - ``**kwargs`` : optional + **kwargs : optional Keyword arguments to pass on to the interpolating function. Returns diff --git a/pandas/core/strings/accessor.py b/pandas/core/strings/accessor.py index 6c271ef1021f4..f0ad5b662de84 100644 --- a/pandas/core/strings/accessor.py +++ b/pandas/core/strings/accessor.py @@ -2351,8 +2351,6 @@ def count(self, pat, flags: int = 0): flags : int, default 0, meaning no flags Flags for the `re` module. For a complete list, `see here `_. - **kwargs - For compatibility with other string methods. Not used. Returns -------