From 1185d1f1aebf633f885e49429bb591adce711ea1 Mon Sep 17 00:00:00 2001 From: Lodewic van Twillert Date: Wed, 11 Mar 2026 15:31:25 +0100 Subject: [PATCH] fix: rename parameter 'funcs' to 'functions' to fix a bug --- emm/preprocessing/pandas_preprocessor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emm/preprocessing/pandas_preprocessor.py b/emm/preprocessing/pandas_preprocessor.py index 3ab04ab..bdda7bd 100644 --- a/emm/preprocessing/pandas_preprocessor.py +++ b/emm/preprocessing/pandas_preprocessor.py @@ -116,8 +116,8 @@ def _spark_apply_steps( sc = self.spark_session.sparkContext rdd = sc.parallelize(X_chunks, len(X_chunks)) - def calc(chunk, funcs): - for func in funcs: + def calc(chunk, functions): + for func in functions: chunk = func(chunk) return chunk.index.values, chunk.values