TypeError: object array may be self-referencing
I tried to read this question but I didn't get much out of it. TypeError: object array may be self-referencing python
Thanks in advance
TypeError: object array may be self-referencing
I tried to read this question but I didn't get much out of it. TypeError: object array may be self-referencing python
Thanks in advance
Figured it out myself after a while, I had a calculation with numpy arrays and I did not manually specify the datatype so it turned out it was automatically set to dtype=np.object. I fixed it by specifying dtype=np.float64.
myarray = ([[somevalue, somevalue, somevalue],
[somevalue, somevalue, somevalue],
[somevalue, somevalue, somevalue]], dtype=np.float64)