[Numpy-discussion] Type specific sorts: objects, structured arrays, and all that.

Charles R Harris charlesr.harris@gmail....
Mon Jul 9 22:32:35 CDT 2012

Hi All,

I've been adding type specific sorts for object and structured arrays. It
seems that datetime64 and timedelta64 are also not supported. Is there any
reason why those types should not be sorted as int64?

Also, when sorting object arrays, what should be done with NULL pointers to
objects? I'm tempted to treat them as nans and sort them to the end. OTOH,
perhaps an error should be raised.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20120709/4cbe981f/attachment.html 

More information about the NumPy-Discussion mailing list