Skip to content

Commit 0184e7a

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

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

pandas/core/series.py

+7-7
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ def ravel(self, order="C"):
612612
613613
See Also
614614
--------
615-
numpy.ndarray.ravel
615+
numpy.ndarray.ravel : Return a flattened array.
616616
"""
617617
return self._values.ravel(order=order)
618618

@@ -629,7 +629,7 @@ def compress(self, condition, *args, **kwargs):
629629
630630
See Also
631631
--------
632-
numpy.ndarray.compress
632+
numpy.ndarray.compress : Return selected slices of an array along given axis.
633633
"""
634634
msg = (
635635
"Series.compress(condition) is deprecated. "
@@ -660,7 +660,7 @@ def nonzero(self):
660660
661661
See Also
662662
--------
663-
numpy.nonzero
663+
numpy.nonzero : Return the indices of the elements that are non-zero.
664664
665665
Examples
666666
--------
@@ -697,7 +697,7 @@ def put(self, *args, **kwargs):
697697
698698
See Also
699699
--------
700-
numpy.ndarray.put
700+
numpy.ndarray.put : Set a.flat[n] = values[n] for all n in indices.
701701
"""
702702
warnings.warn(
703703
"`put` has been deprecated and will be removed in a future version.",
@@ -2302,8 +2302,8 @@ def quantile(self, q=0.5, interpolation="linear"):
23022302
23032303
See Also
23042304
--------
2305-
core.window.Rolling.quantile
2306-
numpy.percentile
2305+
core.window.Rolling.quantile : Rolling quantile.
2306+
numpy.percentile : Numpy function to compute the percentile.
23072307
23082308
Examples
23092309
--------
@@ -3307,7 +3307,7 @@ def argsort(self, axis=0, kind="quicksort", order=None):
33073307
33083308
See Also
33093309
--------
3310-
numpy.ndarray.argsort
3310+
numpy.ndarray.argsort : Returns the indices that would sort this array.
33113311
"""
33123312
values = self._values
33133313
mask = isna(values)

0 commit comments

Comments
 (0)