add wrapped functions for parsing
This commit is contained in:
parent
e53709e3fb
commit
5bee01c5dd
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user