|
|
@ -85,8 +85,10 @@ class deid :
|
|
|
|
o = pd.DataFrame()
|
|
|
|
o = pd.DataFrame()
|
|
|
|
|
|
|
|
|
|
|
|
for i in np.arange(RUNS):
|
|
|
|
for i in np.arange(RUNS):
|
|
|
|
|
|
|
|
if 'strict' not in args :
|
|
|
|
n = np.random.randint(2,k)
|
|
|
|
n = np.random.randint(2,k)
|
|
|
|
|
|
|
|
else:
|
|
|
|
|
|
|
|
n = args['field_count']
|
|
|
|
cols = np.random.choice(columns,n,replace=False).tolist()
|
|
|
|
cols = np.random.choice(columns,n,replace=False).tolist()
|
|
|
|
params = {'sample':sample,'cols':cols}
|
|
|
|
params = {'sample':sample,'cols':cols}
|
|
|
|
if pop is not None :
|
|
|
|
if pop is not None :
|
|
|
|