DataBool.from_options
- classmethod DataBool.from_options(name: str, option_list: list, dtype: str | None = None, flag_split_perdim: bool = False) DataCategorical[source]
- Class method to for initialization from list of integers - Parameters:
- name (str) – Name of the data object. 
- option_list (list) – List of integers to be used as domain. 
- dtype (str, optional) – The dtype of the numpy are of the expected data matrix. 
- flag_split_perdim (bool, optional) – If True, object is split across dimensions in a DataBlock. 
 
- Returns:
- DataCategorical – A DataCategorical object.