SchemaFieldNotFoundError
with custom check function if no alias is provided.
#1657
Open
3 tasks done
Labels
bug
Something isn't working
Describe the bug
Code Sample, a copy-pastable example
I'm trying to validate a polars dataframe using a custom check function.
The example above produces the following error:
Expected behavior
I would expect the schema validation to run successfully here. When we uncomment the
.alias("check_result")
line, the schema validation runs without error. I'm trying to understand if this behavior is expected, or if this is a bug.Desktop (please complete the following information):
pandera==0.19.3
The text was updated successfully, but these errors were encountered: