bug fix
This commit is contained in:
parent
9bbe9b7ff9
commit
b283f72dc9
|
@ -179,6 +179,10 @@ class Components :
|
||||||
_dc = pd.DataFrame()
|
_dc = pd.DataFrame()
|
||||||
# for mdf in df :
|
# for mdf in df :
|
||||||
args['data'] = 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'])
|
args['candidates'] = 1 if 'candidates' not in args else int(args['candidates'])
|
||||||
|
|
||||||
candidates = (data.maker.generate(**args))
|
candidates = (data.maker.generate(**args))
|
||||||
|
|
Loading…
Reference in New Issue