simonw / csv-diff

Python CLI tool and library for diffing CSV and JSON files
Apache License 2.0
292 stars 47 forks source link

I store the csv of two tables with multiple primary keys. How do I pass in multiple values in the key of load_csv? #23

Open TurboChang opened 3 years ago

TurboChang commented 3 years ago

I store the csv of two tables with multiple primary keys. How do I pass in multiple values in the key of load_csv?

SanjanaPanjala commented 2 years ago

Hi @TurboChang…did you get any solution on this ? I was also desperately trying to pass multiple values in the key but couldn’t find any solution..Could you please share if you find any solution for this.

AlpineStranger commented 8 months ago

I had the same problem and solved it by tweaking the code - raised pull request

You can see the 5 lines of code changes required to __init__.py to enable this if you want to change it yourself.