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

Robert Kern robert.kern@gmail....
Tue Jul 10 02:37:24 CDT 2012


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