You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When defining a schema with a default value of string type, and enforcing auto-addition of the columns (add_missing_columns=True), the validation fails.
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandera.
(optional) I have confirmed this bug exists on the main branch of pandera.
ColumnNotFoundError: foo
This error occurred with the following context stack:
[1] 'with_columns' failed
[2] 'with_columns' input failed to resolve
[3] 'select' input failed to resolve
[4] 'with_columns' input failed to resolve
Expected behavior
The column "c" should be defaulted to "foo" after validation.
Desktop (please complete the following information):
OS: Ubuntu
Browser: NA
Version: NA
name = "polars"
version = "0.20.30"
name = "pandera"
version = "0.19.3"
The text was updated successfully, but these errors were encountered:
Describe the bug
When defining a schema with a default value of string type, and enforcing auto-addition of the columns (
add_missing_columns=True
), the validation fails.Code Sample, a copy-pastable example
The above throws the following error
Expected behavior
The column "c" should be defaulted to "foo" after validation.
Desktop (please complete the following information):
name = "polars"
version = "0.20.30"
name = "pandera"
version = "0.19.3"
The text was updated successfully, but these errors were encountered: