pandera
pandera copied to clipboard
Implement polars LazyFrame backend and core checks
Is your feature request related to a problem? Please describe.
This issue is part of the work to support polars, see here for a high-level overview of the work needed: https://github.com/unionai-oss/pandera/issues/1064#issuecomment-1751596922
Describe the solution you'd like
This PR is done when the polars LazyFrameSchema has a backend class that's equivalent to the pandas DataFrameSchemaBackend and pandas ColumnBackend classes. Note that there were be some differences, e.g.:
The polars LazyFrame Column
component will NOT use the Series API to implement the checks: rather, it will use the LazyFrame API with expressions to implement the checks.
There may be other differences that emerge during the course of implementing this issue.