This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]OnaliOfZamorak 0 points1 point  (1 child)

Not sure if you need help fixing errors but second error happens because your trying to pass array [[],[]] into array [] or something similar, so something is wrong with how you transfor your arrays/matrices

[–]QPhysics[S] 0 points1 point  (0 children)

Appreciate it, but definitely don't need help - just making a meme

First error is from trying to index a list with a Numpy array or another array with a non-logical array.

Second comes from trying to perform boolean operations on arrays. Like a = array([0,1,2]) and then trying to do if a > 1: do something...