glassonion1 / anonypy

Anonymization library for python. Protect the privacy of individuals.
MIT License
25 stars 10 forks source link

Unable to use package #3

Open bivar opened 1 year ago

bivar commented 1 year ago

When trying to use the anonpy package, I get the error:

AttributeError: 'list' object has no attribute 'to_dict'on the anonimize function: anonymize(df, partitions, feature_columns, sensitive_column, max_partitions) image

This errors happens even while trying to run the example code on the readme file.

bindas1 commented 1 year ago

Unfortunately, I get the exact same error when trying to run the example code from the documentation.

huberkat commented 1 year ago

I just ran into the same error

gabebider commented 4 months ago

I am also running into this issue

fpallas commented 2 months ago

same. There seems to be a solution in the other threat (https://github.com/glassonion1/anonypy/issues/1) - would including this in the main branch fix the issue?