tabensemb.data.datamodule.DataModule._get_mode#
method
- static DataModule._get_mode(tabular: DataFrame) Tuple[DataFrame, DataFrame, DataFrame][source]#
Get the mode value for each feature in the tabular dataset.
- Parameters:
- tabular
The tabular dataset.
- Returns:
- pd.DataFrame
The mode value for each feature in the dataset.
- pd.DataFrame
The number of the mode value for each feature.
- pd.DataFrame
The percentage of the mode value for each feature.