def get_headers(rows):
    headers = set()
    for row in rows:
        headers.update(row.keys())

    if 'id' in headers:
        headers.remove('id')
    return headers
dataset/ETHPy150Open pudo/opennames/pepparser/dump.py/get_headers/original