We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
schema_overrides
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of Polars.
import polars as pl df = pl.DataFrame({"a": [1, 2], "b": [3, 4]}, schema_overrides={"c": pl.Int8})
shape: (2, 2) ┌─────┬─────┐ │ a ┆ b │ │ --- ┆ --- │ │ i64 ┆ i64 │ ╞═════╪═════╡ │ 1 ┆ 3 │ │ 2 ┆ 4 │ └─────┴─────┘
Non-existing keys in schema_overrides are ignored.
An ValueError should be raised.
ValueError
main
The text was updated successfully, but these errors were encountered:
Related to #11723
Sorry, something went wrong.
We actually decided against this in the linked issue.
No branches or pull requests
Checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of Polars.
Reproducible example
Log output
Issue description
Non-existing keys in
schema_overrides
are ignored.Expected behavior
An
ValueError
should be raised.Installed versions
main
The text was updated successfully, but these errors were encountered: