(self, types)
Set column type annotations.

        Parameters
        ----------
        types : Dict[int, Optional[ColumnType]]
            Mapping from column indices to column types, `None` indicates
            default (unspecified type, will be inferred)
Set column type annotations.
Set column type annotations .
def setColumnTypes(self, types):
        # type: (Dict[int, Optional[ColumnType]]) -> None
        """
        Set column type annotations.

        Parameters
        ----------
        types : Dict[int, Optional[ColumnType]]
            Mapping from column indices to column types, `None` indicates
            default (unspecified type, will be inferred)
        """
        # This depends on encoding/dialect. Force preview model update.
        if self.__timer.isActive():
            self.__resetPreview()
        self.__setColumnTypes(types)
def setColumnTypes ( self , types ) : # type: (Dict[int, Optional[ColumnType]]) -> None # This depends on encoding/dialect. Force preview model update. if self . __timer . isActive ( ) : self . __resetPreview ( ) self . __setColumnTypes ( types )