def choose_header(self, rows):
        header_row = 0
        field_names = []

        # Select header from available rows
        for i, row in enumerate(rows):
            if len(row) > len(field_names):
                header_row = i
                field_names = row
        return header_row, field_names
Determine which row contains column headers from the provided set.
dataset/ETHPy150Open wq/wq.io/parsers/readers.py/SkipPreludeReader.choose_header