def __iand__(self, o): _maths.bitwise_and(self, o, self) return self
def __and__(self, o): d = asDataset(o) if self.dtype is bool and d.dtype is bool: return _cmps.logical_and(self, d) return _maths.bitwise_and(self, d)