code: def filter_by_rows(self, rows, ID=None):
          
          rows = to_list(rows)
          fil = lambda x: x in rows
          applyto = {k: self._positions[k][0] for k in self.keys()}
          if ID is None:
              ID = self.ID
          return self.filter(fil, applyto=applyto, ID=ID)
docs: Keep only Measurements in corresponding rows.