From b283f72dc963a433152ab97b5b934b36d65471a8 Mon Sep 17 00:00:00 2001 From: Steve Nyemba Date: Tue, 30 Mar 2021 10:48:25 -0500 Subject: [PATCH] bug fix --- pipeline.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pipeline.py b/pipeline.py index 6cb1be9..d00ddb7 100644 --- a/pipeline.py +++ b/pipeline.py @@ -179,6 +179,10 @@ class Components : _dc = pd.DataFrame() # for mdf in df : args['data'] = df + if 'ignore' in args and 'columns' in args['ignore'] : + _cols = self.get_ignore(data=df,columns=args['ignore']['columns']) + args['data'] = df[ list(set(df.columns)- set(_cols))] + args['candidates'] = 1 if 'candidates' not in args else int(args['candidates']) candidates = (data.maker.generate(**args))