code: def where(self, mask):
          
          assert len(mask) == len(self)
          return DataAccessObject({k: self.dict[k][mask] for k in self.dict})
docs: :param mask: boolean mask
          :return: a DataAccessObject with a subset of rows matching mask