On Mon, Mar 24, 2014 at 11:32 AM, Alan G Isaac <[email protected]> wrote:

> I'm wondering if `sort` intentionally does not accept a `key`
> or if this is just a missing feature?
>

It would be very inefficient to call a key function on every element
compared during the sort.   See np.argsort and np.lexsort for faster
alternatives.
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to