I have 4 NumPy arrays: a, b, c, d
I am running: {i: i.shape for i in [a,b,c,d]}
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
{i:i.shape for i in [a,b,c,d]}
File "<stdin>", line 1, in <dictcomp>
{i:i.shape for i in [a,b,c,d]}
TypeError: unhashable type: 'numpy.ndarray'
What am I doing wrong?