np.argsort() implementation is not found
np.argsort() implementation is not found Question: I would like to see how numpy.argsort() works. In the documentation, the source for numpy.argsort() is numpy.core.fromnumeric.py. This is understandable. https://numpy.org/doc/stable/reference/generated/numpy.argsort.html core.fromnumeric.argsort() is a bit more complicated. Ignoring decorators, if fromnumeric.argsort(arr) returns _wrapfunc(arr, "argsort"), which returns arr.argsort(). This is not a problem. Assuming arr is numpy.ndarray, it might be …