Skip to content

0.5.0: Class-based API for DataFrame Typing

Compare
Choose a tag to compare
@cosmicBboy cosmicBboy released this 25 Oct 13:24
db31b10

Enhancements

  • Implement class-based API for pydantic-style schema definitions 786b504. Big thanks to @jeffzi 🎉
  • Add inplace=False argument to schema.validate method to prevent mutation of original dataframe 586ebf3.
  • Make pandera optional extensions [hypothesis], [io], [all] available c4716a0. Thanks @amitripshtos and @jeffzi 🎉
  • Add support for complex number data types 50e86e4 thanks @ferhah 🎉
  • Add support for numpy scalar types a519db5
  • Add check_io decorator for check inputs and outputs of a function 913cbd7
  • Throw SchemaError with column name instead of ValueError for nulls in int series f7b03e3 thanks @TheCleric 🎉

Bugfixes

  • Bugfix io.to_script and to_yaml: Ignoring serializing Checks with lambda functions da9c3a5 thanks @ferhah 🎉

Deprecations

  • Drop support for Python 3.5 91e21a2
  • Deprecate transformers argument in DataFrameSchema init 89c3c91

Documentation Improvements

Repo Improvements