Hi,
I get this error:
set(chainsA[0,:,0])
TypeError: unhashable type: 'numpy.ndarray'
>>> list(chainsA[0,:,0])
[2636, 2590, 2619, 2590]
>>> list(chainsA[0,:,0])[0]
2636
>>> type(_)
<type 'numpy.int64'>

I understand where this error comes from, however what I was trying to
do seems to "intuitive" that I would like to ask for suggestions:
"What should I do if the "number" 2636 becomes unhashable ?"

Thanks,

Sebastian Haase
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to