summaryrefslogtreecommitdiff
path: root/numpy/core/defchararray.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core/defchararray.py')
-rw-r--r--numpy/core/defchararray.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/core/defchararray.py b/numpy/core/defchararray.py
index 39492b421..c77ec30be 100644
--- a/numpy/core/defchararray.py
+++ b/numpy/core/defchararray.py
@@ -129,6 +129,9 @@ class chararray(ndarray):
def __rmod__(self, other):
return NotImplemented
+ def argsort(self, axis=-1, kind='quicksort', order=None):
+ return self.__array__().argsort(axis, kind, order)
+
def _generalmethod(self, name, myiter):
res = [None]*myiter.size
maxsize = -1