Hi,
I am sorry, I am still struggling with object arrays - and here -
numpy data types. Is there any easy way to explain why comparisons
with numpy types give a different output from comparisons with
non-numpy types:
In [108]:oa = zeros((1,), dtype=object)
In [109]:oa == int
Out[109]:array([False], dtype=bool)
In [110]:oa == int32
Out[110]:False
Many thanks for your patience,
Matthew
|