baybe.utils.dataframe.transform_target_columns¶
- baybe.utils.dataframe.transform_target_columns(df: DataFrame, targets: Sequence[Target], /, *, allow_missing: bool = False, allow_extra: bool = False)[source]¶
Transform the columns of a dataframe that correspond to objects of type
Target
.For more details, see
baybe.utils.dataframe.get_transform_objects()
.- Return type: