Numpy Boolean Array To Int Python Input