Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

option to modify key before comparison #35

Open
captn3m0 opened this issue May 3, 2023 · 0 comments
Open

option to modify key before comparison #35

captn3m0 opened this issue May 3, 2023 · 0 comments

Comments

@captn3m0
Copy link

captn3m0 commented May 3, 2023

2 CSV files, with keys that have the same keys, but in a slightly different case. I'd like to run the keys through str.lower() somehow before the comparison is made.

Having this available as a custom hook for programmatic usage would be nice as well. (So I could define a custom key for #17 and #22 quite nicely as well).

Example CSVs where this is needed:

ID,Value
key1,value1
key2,value2
ID,Value
Key1,value11
Key2,value22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant