tabensemb.data.dataderiver.RelativeDeriver.derive#

method

RelativeDeriver.derive(df: DataFrame, datamodule: DataModule) Tuple[ndarray, List]#

The method automatically checks input column names and the DataFrame, calls the _derive() method, and checks the output of the derived data.

Parameters:
df:

The tabular dataset.

datamodule:

A DataModule instance. Data-derivers might use information in the DataModule, but would not change its contents.

Returns:
np.ndarray

A ndarray of derived data

List

Names of each column in the derived data.