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

Ensure files created in Windows environnement can be read by the script #30

Open
mdaoustUdeS opened this issue Jan 24, 2024 · 0 comments

Comments

@mdaoustUdeS
Copy link
Contributor

Option 1

We might need to change the following line

group['df'] = read_csv(f"input/{group['file']}")

to this:

group['df'] = read_csv(f"input/{group['file']}",encoding="cp1252")

to ensure it can read files generated with Excel.

Option 2

An alternative way could be to automatically detect encoding.

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