blaze / datashape

Language defining a data description protocol
BSD 2-Clause "Simplified" License
183 stars 65 forks source link

to_numpy(?datetime) should return a valid numpy dtype #144

Closed cpcloud closed 9 years ago

cpcloud commented 9 years ago

numpy has NaT (Not-a-Time) for missing datetime values. We should use this instead of throwing an error.

cpcloud commented 9 years ago

timedelta64 works with NaT as well.