Skip to content

Commit b5bfa48

Browse files
LodewicLodewic van Twillert
andauthored
fix: rename parameter 'funcs' to 'functions' to fix a bug (#47)
Co-authored-by: Lodewic van Twillert <lodewic.van.twillert@rabobank.nl>
1 parent 5b4f915 commit b5bfa48

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

emm/preprocessing/pandas_preprocessor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ def _spark_apply_steps(
116116
sc = self.spark_session.sparkContext
117117
rdd = sc.parallelize(X_chunks, len(X_chunks))
118118

119-
def calc(chunk, funcs):
120-
for func in funcs:
119+
def calc(chunk, functions):
120+
for func in functions:
121121
chunk = func(chunk)
122122
return chunk.index.values, chunk.values
123123

0 commit comments

Comments
 (0)