How to use numpy.where with logical operators How to use numpy.where with logical operators numpy numpy