Re: [Numpy-discussion] np.in1d() capacity limit?

2011-10-31 Thread Grové
hat's why the error occurs in > only some of the cases. > Yes, that makes sense. Anyway, I have just implemented a workaround for now. Thanks. Grové ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

[Numpy-discussion] np.in1d() capacity limit?

2011-10-26 Thread Grové
rgesort') 341 sar = ar[order] 342 equal_adj = (sar[1:] == sar[:-1]) TypeError: requested sort not available for type But this works: a = b[0:41] np.in1d(b,a) Out[105]: array([ True, True, True, ..., False, False, False], dtype=bool) - In other words the limit

Re: [Numpy-discussion] datetimes with date vs time units, local time, and time zones

2011-09-29 Thread Grové
siness days and do half hourly comparisons. I am using: In [181]: np.__version__ Out[181]: '2.0.0.dev-aded70c' Regards Grové Steyn ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

[Numpy-discussion] Problem with importing csv into datetime64

2011-09-28 Thread Grové
;2011-07-12', '2011-07-13', '2011-07-14', '2011-07-15', '2011-07-16', '2011-07-17'], dtype='datetime64[D]') It seems that the CSV import creates an embedded object datetype for 'date' rather than a datetime64 data type. Any ideas on how to fix this? Grové ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion