Pandera

Latest version: v0.20.4

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

Scan your dependencies

Page 11 of 16

0.7.0

Enhancements

- Add support for frictionless schemas (454) [[docs](https://pandera.readthedocs.io/en/stable/third_party_schema.html#frictionless-data-schema)]
- decouple pandera and pandas dtypes (559) [[docs](https://pandera.readthedocs.io/en/stable/dtypes.html)]
- Unify dataframe definitions to fix auto-complete 576
- Report all failure cases when coercing dtypes fails (584)

Bugfixes

- Handle case of pandas.DataFrame with pandas.MultiIndex in `pandera.error_formatters.reshape_failure_cases` (560)
- Add 'ordered.setter' decorator (567)
- Fix decorators on classmethods (568)
- better handling of datetime/timedelta in serialize/deserialize (585)

Docs Improvements

- Update contributing guide ccca82f7539311078c519d027670487150cfdb11
- Add documentation build to contributing guide 361fec0df65ea0711be3b0270dd4a7797100aba6
- Fix virtualenv instructions in contributing guide ed74a65d895f5576e53f71377d2d72195231e8eb
- Feature/coroutines docs (570)
- Add frictionless documentation (579)
- use python primitive types in docs where possible (581)

Repo Improvements

- Add typing to un-annotated functions (569)
- use virtualenv instead of conda in ci (578)

Contributors

Big shout out to ✨ mattHawthorn, vinisalazar, cristianmatache, TColl, jeffzi, admackin, and benkeesey ✨ for your contributions on this release 🎉🎉🎉

0.6.5

Enhancements

- Raise error if check_obj.index is MultiIndex when using pandera.Index (483)
- support decorators for coroutines (546)
- added py.typed and typed Series descriptor (543)
- select non-str column names with regex=True (551)

Bugfixes

- check decorators support non-DataFrame types (510)
- lazy validation correctly reports all errors (528)
- don't drop duplicates for series failure cases (535)
- custom dataframe-level checks don't corrupt data-synthesis strategy 550

Contributors

Thanks to jekwatt cristianmatache lkadin for your first-time contributions! 🎉🎉🎉

0.6.4

New Features

- Allow attaching registered dataframe checks by using Config field names (478)

Bugfixes

- alias propagation works correctly on empty subclass (446)
- Add missing inplace arg to SchemaModel's validate (450)
- fix check_types decorator should return results from validate (458)
- Dataframe schemas in yaml do not require any field (479)
- coerce=True and pandas_dtype=None should be a noop (476)

Doc Improvement

- update documentation css to fit mobile (447)
- add copy button to docs (448)
- link documentation to github (449)

Infrastructure Changes

- add bugfixes and release branches to github actions eb38173290b5a6bd40d847bc94bcb8a767a04294
- fix github action triggers 3191be9c1237eb07780c5c4b50c245d3a767afb3
- update bug report template b0db5b05f8a8d114e18f2c622a33b6546bebdbd9
- bump cache 0ee703fe11971f2b094ffaf6adec76cae6bb74e3
- noxfile fixes 489695df6efaedfbf08e8e758a03f52c9ce4e04c
- update pylint (477)

0.6.3

New Features

- add new method `SchemaModel.to_yaml` to serialize `SchemaModel`s to yaml 428

Bugfixes

- preserve pandas extension types during validation (443)
- Fix to_yaml serialization dropping global checks (428) 🎉 first contribution antonl 🎉
- fix empty data type not supported for serialization (435)
- fix empty SchemaModel (434)
- add doc about attributes excluded by SchemaModel (436) jeffzi
- fix DataFrameSchema comparison with non-DataFrameSchema (431) jeffzi
- schema serialization handles non-PandasDtype (424)
- pa.Object coerce should preserve object type (423)

Documentation

- Update documentation theme to use [furo](https://github.com/pradyunsg/furo) #444
- Add favicon e3540f1

0.6.2

New Feature

- Add SchemaModel column name access through class attributes (388) jespercodes jeffzi 🎉
- Parametrized PandasExtensionType types (389) jeffzi 🎉
- adding filter argument to strict parameter (401) ktroutman
- feature/341: improve __str__ and __repr__ methods for schemas (413)

Bugfixes

- fix py3.6 optional + literal dtypes in SchemaModel (379) jeffzi 🎉
- Fix minimally required packaging version (380) **contribution 1️⃣ probberechts 🎉**
- prevent mypy Check getattr error for registered checks 920a98cb6113bf002fb1df11951196b0130f524a
- Compatibility with numpy 1.20 (395) jeffzi
- dataframe strategies can generate regex columns (402)
- bugfix: df data synthesis with size=None, fix CI (410)
- bugfix: SeriesSchema raises SchemaErrors on lazy validation (412)

Repo Improvements

- improvements to local CI (409) jeffzi
- feature/414: improve contributing docs and add to sphinx docs (416)

0.6.1

Bugfix Release

This release contains two bugfixes:

- coerce nullable str column handles all na (366)
- non-required columns that are not in dataframe are not coerced (368)

Page 11 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.