[Numpy-discussion] sort documentation

Alan G Isaac aisaac@american....
Sun Aug 31 11:26:03 CDT 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