def setEditable(self, editable):
        if not isinstance(editable, bool):
            raise TypeError('Argument is not of type bool')
        self._editable = editable
setter to _editable. apply changes while changing dtype.
dataset/ETHPy150Open datalyze-solutions/pandas-qt/pandasqt/models/ColumnDtypeModel.py/ColumnDtypeModel.setEditable