bug fix with explore policy
This commit is contained in:
parent
3ff382ad71
commit
30fe9cf9fc
|
@ -76,7 +76,7 @@ class deid :
|
|||
|
||||
sample = args['sample'] if 'sample' in args else pd.DataFrame(self._df)
|
||||
|
||||
k = sample.columns.size -1 if 'field_count' not in args else int(args['field_count'])
|
||||
k = sample.columns.size if 'field_count' not in args else int(args['field_count']) + 1
|
||||
if 'id' in args :
|
||||
id = args['id']
|
||||
columns = list(set(sample.columns.tolist()) - set([id]))
|
||||
|
|
Loading…
Reference in New Issue