Lyonk71/pandas-dedupe

ValueError: not enough values to unpack (expected 2, got 1)

Closed this issue · 1 comments

Hi Guys,
I have created python GUI using gooey(exaple.exe) and in that I am using pandas_dedupe.dedupe_dataframe to perform deduplication in my data(file.csv) but while I am using this option from my GUI it ask for label data so I responses yes no as to provide label but it keeps asking for label data after providing sufficient no of label(more than 300 whereas there is only 110 rows in my data) when I click on finished it gives the value error(ValueError: not enough values to unpack (expected 2, got 1)).
One important thing that If I run the same script(example.py)[using which I made (example.exe)] from cmd it only ask for few sample and then successfully generate the deduped data for the same data(file.csv) which I am using in GUI.
so the issue is only coming when I am using GUI (I also tried retraining model by deleting training and json files) but the issue is arriving.
Note- some time it also gives this error (An error occurred: unbound method frozenset.union() needs an argument)
can anyone please help me that how can I resolve this issue because for me I have resolved it by running script from cmd but My users will not have script they will have only executable(example.exe)
Thanks in advance

Hello, Guys this issue was not due to pandas-dedupe, actually this error was from another line of my code so closing this issue.
Thank You