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

fix(python): address issue with inadvertently shared options dict in read_excel #11908

Merged

Conversation

alexander-beedie
Copy link
Collaborator

Closes #11850.

Need to take a shallow-copy of "read_csv_options" before modifying/updating it, or reading from multiple sheets with the default engine (when we have "schema_overrides") fails with an inadvertent ParameterCollisionError.

@github-actions github-actions bot added fix Bug fix python Related to Python Polars labels Oct 20, 2023
@ritchie46 ritchie46 merged commit 6a1731e into pola-rs:main Oct 21, 2023
13 checks passed
@alexander-beedie alexander-beedie deleted the fix-spreadsheet-schema-overrides branch October 21, 2023 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix python Related to Python Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pl.read_excel fails when both schema_overrides and sheet_name are provided
2 participants