def METHOD_NAME(self, measurements):
    result = StringIO()
    prev_timestamp = dt.datetime(1, 1, 1, 0, 0)
    measurements.seek(0)
    for line in measurements:
        cur_timestamp = iso8601.parse_date(line.split(",")[0])
        cur_timestamp = cur_timestamp.replace(second=0, tzinfo=None)
        if cur_timestamp == prev_timestamp:
            continue
        result.write(line)
        prev_timestamp = cur_timestamp
    result.seek(0)
    return result