def METHOD_NAME(self, rows=[], calidx=0):
    outrows = []
    target = {}
    for row in rows:
        # We are getting the rows' calibration. It was saved inside each row
        dtrow = row[row.keys()[0]].get('Calibration',0)
        if dtrow == calidx:
            target = row
        else:
            outrows.append(row)
    return target, outrows