Truth value of numpy array with one falsey element seems to depend on dtype Truth value of numpy array with one falsey element seems to depend on dtype numpy numpy