Release v0.20.0: Pyarrow dtype support
⭐️ Highlights
- Pandera now supports pyarrow datatypes in the pandera validation engine! Big shoutout to @aaravind100 for the heavy lifting here.
- Added compatibility for numpy v2.
- Add compatibility for polars v1
pandera.SchemaModel
is now deprecated, usepandera.DataFrameModel
instead.
What's Changed
- Bugfix/1631: Series[Annotated[...]] DataFrameModel types should correctly create a DataFrameSchema by @cosmicBboy in #1633
- Add missing pandas import line. by @kyleweise in #1635
- add pandas pyarrow backend support by @aaravind100 in #1628
- bugfix: timezone-agnostic datetime in polars works in DataFrameModel by @cosmicBboy in #1638
- fix pandas pyarrow string validation by @aaravind100 in #1636
- Bump jinja2 from 3.1.3 to 3.1.4 by @dependabot in #1619
- Updating Old
pandas-stubs
Link in Documentation by @bustosalex1 in #1648 - Bugfix: add missing
reason_code
for pyspark backend by @melvinkokxw in #1646 - change pandas engine to be numpy>2 compat by @cosmicBboy in #1690
- Minor documentation fix by @poulter7 in #1643
- perf: dataframe-level checks, fix polars tests by @cosmicBboy in #1702
- Docs: fix missing import in data conversion code cell by @billyvinning in #1700
- fix: DataFrameSchema repr formatting by @AlpAribal in #1694
- Fix coerion errors for
polars=1.0.0
by @MariusMerkleQC in #1706 - Solve deprecation warning on with_context by @MariusMerkleQC in #1705
- fix: default values set before coercion by @sanzoghenzo in #1708
- remove deprecated SchemaModel by @cosmicBboy in #1711
- Fix mismatched quotes, standardize CONTRIBUTING.md by @deepyaman in #1712
- Run CI on PRs to
ibis-dev
; stop forpolars-dev
by @deepyaman in #1713 - enable black for py311 by @lundybernard in #1697
- Updates to improve TryPandera documentation by @hendera2 in #1668
New Contributors
- @kyleweise made their first contribution in #1635
- @aaravind100 made their first contribution in #1628
- @bustosalex1 made their first contribution in #1648
- @melvinkokxw made their first contribution in #1646
- @poulter7 made their first contribution in #1643
- @billyvinning made their first contribution in #1700
- @AlpAribal made their first contribution in #1694
- @MariusMerkleQC made their first contribution in #1706
- @sanzoghenzo made their first contribution in #1708
- @lundybernard made their first contribution in #1697
- @hendera2 made their first contribution in #1668
Full Changelog: v0.19.2...v0.20.0