add wrapped functions for parsing

This commit is contained in:
Florian Förster 2025-03-12 16:00:05 +01:00
parent e53709e3fb
commit 5bee01c5dd

View File

@ -42,7 +42,7 @@ def _map_features_to_targets(
return data
def preprocess_features(
def process_features(
data: pd.DataFrame,
feature_map: Mapping[str, str],
target_features: Set[str],
@ -54,9 +54,9 @@ def preprocess_features(
@wrap_result()
def preprocess_features_wrapped(
def process_features_wrapped(
data: pd.DataFrame,
feature_map: Mapping[str, str],
target_features: Set[str],
) -> pd.DataFrame: # pragma: no cover
return preprocess_features(data, feature_map, target_features)
return process_features(data, feature_map, target_features)