computationalprivacy / bandicoot

an open-source python toolbox to analyze mobile phone metadata
MIT License
237 stars 61 forks source link

bc.read_csv() drop_duplicates option not working #6

Closed yellowBirdy closed 8 years ago

yellowBirdy commented 8 years ago

`errors = bc.read_csv(error_user_id, records_with_errors_path, drop_duplicates=True)

TypeError Traceback (most recent call last)

in () ----> 1 errors = bc.read_csv(error_user_id, records_with_errors_path, drop_duplicates=True) TypeError: read_csv() got an unexpected keyword argument 'drop_duplicates'`
cynddl commented 8 years ago

Fixed in dc505a9. Indeed, the drop_duplicates keyword was implemented in the low-level bc.io.load function, but not in bc.io.read_csv. Thanks!