@Slot('QBool')
    def _updateHeader(self, toggled):
        self._header = 0 if toggled else None
        self._previewFile()
Changes the internal flag, whether the csv file contains a header or not.
dataset/ETHPy150Open datalyze-solutions/pandas-qt/pandasqt/views/CSVDialogs.py/CSVImportDialog._updateHeader