Closed mhangaard closed 7 years ago
If x is an array, x == None returns an array of booleans in newer numpy versions, whereas x is None always returns a boolean.
x
x == None
x is None
Thanks!
If
x
is an array,x == None
returns an array of booleans in newer numpy versions, whereasx is None
always returns a boolean.