This commit is contained in:
Steve Nyemba 2021-03-30 10:48:25 -05:00
parent 9bbe9b7ff9
commit b283f72dc9
1 changed files with 4 additions and 0 deletions

View File

@ -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))