Numpy's bool_ type seems to fail an isinstance check with the Python numbers.Integral ABC: import numpy import numbers x = numpy.array ( [True]) print ( isinstance (x [0],numbers.Integral) ) # -> ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results