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

Robert Kern robert.kern at gmail.com
Tue Jul 10 03:37:24 EDT 2012


On Tue, Jul 10, 2012 at 4:32 AM, Charles R Harris
<charlesr.harris at gmail.com> wrote:
> 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?

You need special handling for NaTs to be consistent with how we deal
with NaNs in floats.

-- 
Robert Kern



More information about the NumPy-Discussion mailing list