v0.14.0: Pandera Internals Rewrite [phase 1] #1111
cosmicBboy
started this conversation in
General
Replies: 1 comment
-
Congratulations on the release! By the size of the diffs, this must have been a massive task. Thanks a lot for the great and diligent work 🎉 I'm looking forward to all the features that can now much more realistically be implemented, like #252 😁 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
⭐️ Highlights
The main highlight of this release is that phase 1 of the Pandera internals re-write is complete 🎉🚀! This is a backwards-compatible re-write (unit tests FTW 😅) that should just work with your existing pandera code. Please submit bug reports if you encounter any regressions that weren't covered by the current test suite.
These PRs #913 #1109, and #1110 address #381, and essentially decouples pandas-specific logic from the pandera schema specification. In summary:
pandera.api
, containing:pandera.api.base
pandera.api.pandas
pandera.api.checks.Check
andpandera.api.hypotheses.Hypothesis
pandera.api.extensions
to be able to register builtin and custom checks/hypothesespandera.backends
, containing:pandera.backends.base
pandera.backends.pandas
Now, all pandas-specific logic is isolated to specific modules, where support for additional non-pandas-compliant schema specifications and their associated backends can be implemented either as 1st-party-maintained libraries (see issues for supporting polars and ibis) or 3rd party libraries.
🛣 Rewrite Roadmap
The bulk of the re-write is complete, however there are still some outstanding items:
pandera-ibis
package, which will create a schema specification and validation backends for ibis data structures (see issue Support Ibis Backend #1105)What's Changed
coerce==True
when for PydandticModels by @the-matt-morris in not requirecoerce==True
when for PydandticModels #1011check_types
: Bugfix/977 by @kr-hansen in Add Union support tocheck_types
: Bugfix/977 #995New Contributors
check_types
: Bugfix/977 #995Full Changelog: v0.13.4...v0.14.0
This discussion was created from the release v0.14.0: Pandera Internals Rewrite [phase 1].
Beta Was this translation helpful? Give feedback.
All reactions