github unionai-oss/pandera v0.24.0rc0
v0.24.0rc0: Drop pandas and numpy dependency, introduce pandas extra

latest release: v0.24.0
pre-releaseone month ago

✨ Highlights ✨

Import pandera.pandas to define schemas for pandas objects

🚨 Breaking Change

pandera==0.24.0 has dropped the dependency on pandas and numpy and has introduced a pandas extra. This will break any users who relied on pandas as a the transitive dependency of pandera to install pandas. To remediate this, do the following:

Install pandas explicitly or use the pandas extra

pip install pandas pandera
# or
pip install 'pandera[pandas]'

Change your import to pandera.pandas

All pandas-specific symbols that were exposed by the top-level pandera module are now defined in the pandera.pandas module.

# old import
import pandera as pa

# new import
import pandera.pandas as pa

What's Changed

New Contributors

Full Changelog: v0.23.1...v0.24.0

Don't miss a new pandera release

NewReleases is sending notifications on new releases.