A Wednesday 30 July 2008, Pierre GM escrigué: > Which brings me to another question: > datetime64 and timedelta64 are just dtypes, therefore they don't > impose any restriction (in terms of uniqueness of elements, ordering > of the elements...) on the underlying ndarray, right ?
That's right. Perhaps this is the reason why you got mystified about the numpy.ones(5, dtype="datetime64[s]") thing. -- Francesc Alted _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion