[Numpy-discussion] sort documentation

Alan G Isaac aisaac at american.edu
Sun Aug 31 12:26:03 EDT 2008


I find this confusing:

     numpy.sort(a, axis=-1, kind='quicksort', order=None)

     Return copy of 'a' sorted along the given axis.

     Perform an inplace sort along the given axis using the algorithm
     specified by the kind keyword.

I suppose the last bit is supposed to refer to the ``sort``
method rather than the function, but I do not see any signal
that this is the case.

Cheers,
Alan Isaac





More information about the NumPy-Discussion mailing list