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

Support kwargs for from_Csv #1284

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Support kwargs for from_Csv #1284

wants to merge 1 commit into from

Conversation

Carl4
Copy link

@Carl4 Carl4 commented Feb 10, 2025

For some reason, from_csv encoding defaults to 'charmap' encoding on my machine, which fails when importing ActBlue data due to unrecognized characters. This quick patch allows me to specify encoding='utf-8'.

from_csv defaults to 'charmap' encoding on my machine, which fails when importing ActBlue data due to unrecognized characters. This quick patch allows me to specify encoding='utf-8'.
@shaunagm
Copy link
Collaborator

Thanks so much for this PR @Carl4! The failing test is our ruff formatter complaining that in your docstring, **csvargs: has a trailing space so it's actually **csvargs: . Sorry to bother you for such a tiny thing, but would you mind updating the PR to remove that space? If not I can do it. And then we can merge this. :)

@shaunagm shaunagm added the 🎉 first PR the first PR by a new contributor label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎉 first PR the first PR by a new contributor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants