Skip to content

Commit b61fb8d

Browse files
committed
Fixed docstring
1 parent 4707273 commit b61fb8d

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

pandas/core/arrays/base.py

+8-5
Original file line numberDiff line numberDiff line change
@@ -235,18 +235,21 @@ def argsort(self, ascending=True, kind='quicksort', *args, **kwargs):
235235
Parameters
236236
----------
237237
ascending : bool, default True
238-
axis : int or None, optional
239-
Axis along which to sort. ExtensionArrays are 1-dimensional,
240-
so this is only included for compatibility with NumPy.
238+
Whether the indices should result in an ascending
239+
or descending sort.
241240
kind : {'quicksort', 'mergesort', 'heapsort'}, optional
242241
Sorting algorithm.
243-
order : str or list of str, optional
244-
Included for NumPy compatibility.
242+
args, kwargs:
243+
passed through to :func:`numpy.argsort`.
245244
246245
Returns
247246
-------
248247
index_array : ndarray
249248
Array of indices that sort ``self``.
249+
250+
See Also
251+
--------
252+
numpy.argsort
250253
"""
251254
# Implementor note: You have two places to override the behavior of
252255
# argsort.

0 commit comments

Comments
 (0)