Pandera

Latest version: v0.19.3

Safety actively analyzes 629639 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 15

0.14.4

What's Changed
* fix regression: handle schema.coerce_dtype correctly by cosmicBboy in https://github.com/unionai-oss/pandera/pull/1119
* pandera schema can validate pd.DataFrame subclasses by cosmicBboy in https://github.com/unionai-oss/pandera/pull/1122
* use actual alias for SchemaModel by cosmicBboy in https://github.com/unionai-oss/pandera/pull/1123
* Use isinstance if data_container contains a subtype of str by davidkleiven in https://github.com/unionai-oss/pandera/pull/1114
* fix issue with pd.StringDtype() validation by cosmicBboy in https://github.com/unionai-oss/pandera/pull/1125

New Contributors
* davidkleiven made their first contribution in https://github.com/unionai-oss/pandera/pull/1114

**Full Changelog**: https://github.com/unionai-oss/pandera/compare/v0.14.3...v0.14.4

0.14.3

What's Changed
* fix regression: all missing columns should be reported by cosmicBboy in https://github.com/unionai-oss/pandera/pull/1117


**Full Changelog**: https://github.com/unionai-oss/pandera/compare/v0.14.2...v0.14.3

0.14.2

**Full Changelog**: https://github.com/unionai-oss/pandera/compare/v0.14.1...v0.14.2

0.14.1

What's Changed
* multimethod is a runtime dependency by timkpaine in https://github.com/unionai-oss/pandera/pull/1112

New Contributors
* timkpaine made their first contribution in https://github.com/unionai-oss/pandera/pull/1112

**Full Changelog**: https://github.com/unionai-oss/pandera/compare/v0.14.0...v0.14.1

0.14.0

⭐️ 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](https://github.com/unionai-oss/pandera/issues/new?assignees=&labels=bug&template=bug_report.md&title=) if you encounter any regressions that weren't covered by the current test suite.

These PRs 913 1109, and 1110 address https://github.com/unionai-oss/pandera/issues/381, and essentially decouples pandas-specific logic from the pandera schema specification. In summary:

- **The pandera schema specifications are defined in `pandera.api`**, containing:
- schema base classes in `pandera.api.base`
- pandera schema classes in `pandera.api.pandas`
- the global check and hypothesis namespace in `pandera.api.checks.Check` and `pandera.api.hypotheses.Hypothesis`
- decorators are provided in `pandera.api.extensions` to be able to register builtin and custom checks/hypotheses
- **The pandera backend validation logic is defined in `pandera.backends`**, containing:
- backend base classes in `pandera.backends.base`
- pandas-specific backend validators in `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](https://github.com/unionai-oss/pandera/issues/1064) and [ibis](https://github.com/unionai-oss/pandera/issues/1105)) or 3rd party libraries.

🛣 Rewrite Roadmap

The bulk of the re-write is complete, however there are still some outstanding items:

- Write validation backends for the existing pandas-like frameworks (dask, pyspark.pandas, modin). This may lead to refactoring some of the abstractions that came out of the rewrite.
- Write an alpha version of the `pandera-ibis` package, which will create a schema specification and validation backends for [ibis data structures](https://ibis-project.org/) (see issue https://github.com/unionai-oss/pandera/issues/1105)
- Document the process of writing your own 3rd party libraries based on pandera for any arbitrary statistical data container.

What's Changed
* Bugfix/996: strict="filter" doesn't work on spark dataframes by nwoodbury in https://github.com/unionai-oss/pandera/pull/1001
* unpin pandas-stubs version by williamjamir in https://github.com/unionai-oss/pandera/pull/1000
* add PR messages, DCO to contributing guide by cosmicBboy in https://github.com/unionai-oss/pandera/pull/1006
* Turn failure-cases to string to avoid hashing unhashable objects by a-recknagel in https://github.com/unionai-oss/pandera/pull/1014
* not require `coerce==True` when for PydandticModels by the-matt-morris in https://github.com/unionai-oss/pandera/pull/1011
* Schema Model manipulation docs by a-recknagel in https://github.com/unionai-oss/pandera/pull/1012
* Fix handling of decimals with scale=0 by a-recknagel in https://github.com/unionai-oss/pandera/pull/1010
* Add Union support to `check_types`: Bugfix/977 by kr-hansen in https://github.com/unionai-oss/pandera/pull/995
* Bugfix/997 by joepatol in https://github.com/unionai-oss/pandera/pull/1017
* update mypy plugin and tests by cosmicBboy in https://github.com/unionai-oss/pandera/pull/1007
* fix issue where check_types-decorated function is an iterable by cosmicBboy in https://github.com/unionai-oss/pandera/pull/1022
* fix mypy extra unit tests, pin pandas-stubs for dev env by cosmicBboy in https://github.com/unionai-oss/pandera/pull/1056
* Feature/511: Copy columns in DataFrameSchema.__init__() by NickCrews in https://github.com/unionai-oss/pandera/pull/1055
* Unpinning ray from requirements-dev.txt by erichamers in https://github.com/unionai-oss/pandera/pull/1052
* core and backend pandera API internals rewrite by cosmicBboy in https://github.com/unionai-oss/pandera/pull/913
* Small fix to example by brl0 in https://github.com/unionai-oss/pandera/pull/1083
* Coerce dt indexes and series by cristianmatache in https://github.com/unionai-oss/pandera/pull/1057
* correctly type-check strings by cosmicBboy in https://github.com/unionai-oss/pandera/pull/1106
* fix lazy validation issue with regex columns if no column found by cosmicBboy in https://github.com/unionai-oss/pandera/pull/1107
* fix(dtypes.py): correction at function is_numeric docstring by HenriqueAJNB in https://github.com/unionai-oss/pandera/pull/1100
* internals rewrite: clean up checks and hypothesis functionality by cosmicBboy in https://github.com/unionai-oss/pandera/pull/1109
* rename pandera.core to pandera.api by cosmicBboy in https://github.com/unionai-oss/pandera/pull/1110

New Contributors
* nwoodbury made their first contribution in https://github.com/unionai-oss/pandera/pull/1001
* williamjamir made their first contribution in https://github.com/unionai-oss/pandera/pull/1000
* kr-hansen made their first contribution in https://github.com/unionai-oss/pandera/pull/995
* joepatol made their first contribution in https://github.com/unionai-oss/pandera/pull/1017
* erichamers made their first contribution in https://github.com/unionai-oss/pandera/pull/1052
* brl0 made their first contribution in https://github.com/unionai-oss/pandera/pull/1083
* HenriqueAJNB made their first contribution in https://github.com/unionai-oss/pandera/pull/1100

**Full Changelog**: https://github.com/unionai-oss/pandera/compare/v0.13.4...v0.14.0

0.13.4

What's Changed
* make GenericDtype TypeVar bound union of supported types by cosmicBboy in https://github.com/unionai-oss/pandera/pull/960
* Use Self in type hints for DataFrameSchema by NickCrews in https://github.com/unionai-oss/pandera/pull/961
* CI-improvements by NickCrews in https://github.com/unionai-oss/pandera/pull/962
* move jupyterlite_sphinx to pip deps by cosmicBboy in https://github.com/unionai-oss/pandera/pull/973
* Fix custom check extensions doc by a-recknagel in https://github.com/unionai-oss/pandera/pull/975
* Raise error on typo in extensions.register_check_method's statistics argument by a-recknagel in https://github.com/unionai-oss/pandera/pull/985
* Add class name for methods in validation error message (980) by Drumbits in https://github.com/unionai-oss/pandera/pull/982
* check_output works with schema where coerce=True by cosmicBboy in https://github.com/unionai-oss/pandera/pull/979
* make df strategy less complex by cosmicBboy in https://github.com/unionai-oss/pandera/pull/989
* fix tz deprecation by cristianmatache in https://github.com/unionai-oss/pandera/pull/972
* De/serializate data frame schema to/from JSON by KiaXdice in https://github.com/unionai-oss/pandera/pull/924
* fix to_script output by cosmicBboy in https://github.com/unionai-oss/pandera/pull/994

New Contributors
* a-recknagel made their first contribution in https://github.com/unionai-oss/pandera/pull/975
* Drumbits made their first contribution in https://github.com/unionai-oss/pandera/pull/982
* KiaXdice made their first contribution in https://github.com/unionai-oss/pandera/pull/924

Contributors

Shoutout to all the contributors of this release 🎉

* NickCrews
* a-recknagel
* Drumbits
* cristianmatache
* KiaXdice

**Full Changelog**: https://github.com/unionai-oss/pandera/compare/v0.13.3...v0.13.4

Page 6 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.