From 5bee01c5dd2fec0f4eb39f371e1d728008b83142 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20F=C3=B6rster?= Date: Wed, 12 Mar 2025 16:00:05 +0100 Subject: [PATCH] add wrapped functions for parsing --- src/delta_barth/analysis/parse.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/delta_barth/analysis/parse.py b/src/delta_barth/analysis/parse.py index 79b0a83..2183365 100644 --- a/src/delta_barth/analysis/parse.py +++ b/src/delta_barth/analysis/parse.py @@ -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)