Skip to content

Commit 2c61fc9

Browse files
authored
Fixed SA04 errors in docstrings (pandas-dev pandas-dev#28792)
1 parent d05f04a commit 2c61fc9

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

pandas/core/resample.py

+12-11
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def __iter__(self):
119119
120120
See Also
121121
--------
122-
GroupBy.__iter__
122+
GroupBy.__iter__ : Groupby iterator.
123123
"""
124124
self._set_binner()
125125
return super().__iter__()
@@ -224,9 +224,10 @@ def pipe(self, func, *args, **kwargs):
224224
"""
225225
See Also
226226
--------
227-
DataFrame.groupby.aggregate
228-
DataFrame.resample.transform
229-
DataFrame.aggregate
227+
DataFrame.groupby.aggregate : Aggregate using callable, string, dict, or list of string/callables
228+
DataFrame.resample.transform : Call function producing a like-indexed Series on each group and return a
229+
Series with the transformed values.
230+
DataFrame.aggregate : Aggregate using one or more operations over the specified axis.
230231
"""
231232
)
232233

@@ -432,8 +433,8 @@ def pad(self, limit=None):
432433
433434
See Also
434435
--------
435-
Series.fillna
436-
DataFrame.fillna
436+
Series.fillna : Fill NA/NaN values using the specified method in a Series.
437+
DataFrame.fillna : Fill NA/NaN values using the specified method in a DataFrame.
437438
"""
438439
return self._upsample("pad", limit=limit)
439440

@@ -812,8 +813,8 @@ def asfreq(self, fill_value=None):
812813
813814
See Also
814815
--------
815-
Series.asfreq
816-
DataFrame.asfreq
816+
Series.asfreq : Convert TimeSeries to specified frequency in a Series.
817+
DataFrame.asfreq : Convert TimeSeries to specified frequency in a DataFrame.
817818
"""
818819
return self._upsample("asfreq", fill_value=fill_value)
819820

@@ -879,9 +880,9 @@ def quantile(self, q=0.5, **kwargs):
879880
880881
See Also
881882
--------
882-
Series.quantile
883-
DataFrame.quantile
884-
DataFrameGroupBy.quantile
883+
Series.quantile : Return value at the given quantile.
884+
DataFrame.quantile : Return values at the given quantile over requested axis.
885+
DataFrameGroupBy.quantile : Return group values at the given quantile, a la numpy.percentile.
885886
"""
886887
return self._downsample("quantile", q=q, **kwargs)
887888

0 commit comments

Comments
 (0)