K-Anonymity icon indicating copy to clipboard operation
K-Anonymity copied to clipboard

erreur résolu

Open Mousta1101 opened this issue 3 years ago • 0 comments

replace line 173 with : values = {'age' : grouped_columns[0], 'education-num' : grouped_columns[0]} now we no longer have the error list object has no attribute 'to_dict()'

then while printing your base you get the error " unhashable type: 'list' " you just need to replace all the prints of your k-anonyme,l-diverse and t-close databases that are named dfn , dfl and dft by print(dfn.head())...

then the code works perfectly

Mousta1101 avatar Jun 02 '21 16:06 Mousta1101