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
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
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
;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