Skip to content

fix(deps): update dependency pandera to ==0.31.*#236

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/pandera-0.x
Open

fix(deps): update dependency pandera to ==0.31.*#236
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/pandera-0.x

Conversation

@renovate

@renovate renovate Bot commented Mar 27, 2026

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
pandera ==0.19.*==0.31.* age confidence

Release Notes

pandera-dev/pandera (pandera)

v0.31.1

Compare Source

What's Changed

Full Changelog: unionai-oss/pandera@v0.31.0...v0.31.1

v0.31.0: : Validate Xarray DataArray, Dataset, and DataTree

Compare Source

⭐️ Highlights

This is the release for all of you geospatial and multidimensional array-handling folks out there.

xarray support

Pandera now provides full support for xarray 🚀

Write a DatasetSchema with the object-based API

import numpy as np
import xarray as xr
import pandera.xarray as pa

schema = pa.DatasetSchema(
    data_vars={
        "temperature": pa.DataVar(dtype=np.float64, dims=("x", "y")),
        "pressure": pa.DataVar(dtype=np.float64, dims=("x", "y")),
    },
    coords={"x": pa.Coordinate(dtype=np.float64)},
)

ds = xr.Dataset(
    {
        "temperature": (("x", "y"), np.random.rand(3, 4)),
        "pressure": (("x", "y"), np.random.rand(3, 4)),
    },
    coords={"x": np.arange(3, dtype=np.float64)},
)
schema.validate(ds)

Or a DatasetModel with the class-based API:

from pandera.typing.xarray import Coordinate

class Surface(pa.DatasetModel):
    temperature: np.float64 = pa.Field(dims=("x", "y"))
    pressure: np.float64 = pa.Field(dims=("x", "y"))
    x: Coordinate[np.float64]

Surface.validate(ds)

First-class geopandas support

This release also adds first-class GeoDataFrameSchema and GeoDataFrameModel APIs for geopandas: https://pandera.readthedocs.io/en/latest/geopandas.html

What's Changed

New Contributors

Full Changelog: unionai-oss/pandera@v0.30.1...v0.31.0

v0.30.1

Compare Source

What's Changed

New Contributors

Full Changelog: unionai-oss/pandera@v0.30.0...v0.30.1

v0.30.0: : Support Pandas >=3 🐼

Compare Source

⭐️ Highlight

Pandera now supports Pandas >= 3!

What's Changed

New Contributors

Full Changelog: unionai-oss/pandera@v0.29.0...v0.30.0

v0.29.0: Release 0.29.0: support list, dict, and tuple of dataframes

Compare Source

⭐️ Highlight

Pandera now supports collection types containing dataframes, shoutout to @​garethellis0 with an amazing first contribution!

@​pa.check_types
def process_tuple_and_return_dict(
    dfs: tuple[DataFrame[OnlyZeroesSchema], DataFrame[OnlyOnesSchema]],
) -> dict[str, DataFrame[OnlyZeroesSchema]]:
    return {
        "foo": dfs[0],
        "bar": dfs[0]
    }

result = process_tuple_and_return_dict((
    pd.DataFrame({"a": [0, 0]}),
    pd.DataFrame({"a": [1, 1]}),
))
print(result)

What's Changed

New Contributors

Full Changelog: unionai-oss/pandera@v0.28.1...v0.29.0

v0.28.1: : Fix regressions in Check behavior

Compare Source

What's Changed

Full Changelog: unionai-oss/pandera@v0.28.0...v0.28.1

v0.28.0: Release 0.28.0: Add support for Pyspark 4

Compare Source

⭐️ Highlight

Pandera now supports Pyspark 4 🚀

What's Changed

New Contributors

Full Changelog: unionai-oss/pandera@v0.27.1...v0.28.0

v0.27.1: : bugfix related to numpy==2.4.0

Compare Source

What's Changed

Full Changelog: unionai-oss/pandera@v0.27.0...v0.27.1

v0.27.0: : Support Python 3.14

Compare Source

⭐️ Highlight

Pandera now supports Python 3.14! We also dropped support for Python 3.9

What's Changed

New Contributors

Full Changelog: unionai-oss/pandera@v0.26.1...v0.27.0

v0.26.1: : Multi-index, @check_types Bugfixes

Compare Source

What's Changed

New Contributors

Full Changelog: unionai-oss/pandera@v0.26.0...v0.26.1

v0.26.0: : Add support for Python 3.13

Compare Source

⭐️ Highlight

📣 Pandera now supports Python 3.13! Now go forth and use bare forward reference types to your hearts content 🤗

What's Changed

New Contributors

Full Changelog: unionai-oss/pandera@v0.25.0...v0.26.0

v0.25.0: : 🦩 Support Ibis table validation

Compare Source

⭐️ Highlight

Pandera now supports Ibis 🦩! You can now validate data on all available ibis backends using the pandera.ibis module.

In-memory table example:

import ibis
import pandera.ibis as pa

class Schema(pa.DataFrameModel):
    state: str
    city: str
    price: int = pa.Field(in_range={"min_value": 5, "max_value": 20})

t = ibis.memtable(
    {
        'state': ['FL','FL','FL','CA','CA','CA'],
        'city': [
            'Orlando',
            'Miami',
            'Tampa',
            'San Francisco',
            'Los Angeles',
            'San Diego',
        ],
        'price': [8, 12, 10, 16, 20, 18],
    }
)
Schema.validate(t).execute()

Sqlite example:

con = ibis.sqlite.connect()
t = con.create_table(
    "table",
    schema=ibis.schema(dict(state="string", city="string", price="int64"))
)

con.insert(
    "table",
    obj=[
        ("FL", "Orlando", 8),
        ("FL", "Miami", 12),
        ("FL", "Tampa", 10),
        ("CA", "San Francisco", 16),
        ("CA", "Los Angeles", 20),
        ("CA", "San Diego", 18),
    ]
)

Schema.validate(t).execute()
What does this mean?

This release unlocks in database validation in some of the most widely used data platforms, including PostGres, Snowflake, BigQuery, MySQL, and more ✨. It means that you can validate data at scale, on your database/data framework of your choice, before fetching it for downstream analysis/modeling work.

Naturally, this also means that you can develop your schemas locally on a duckdb or sqlite backend and then use the same schemas in production on a remote database like postgres.

Learn more about the integration here.

What's Changed

New Contributors

Full Changelog: unionai-oss/pandera@v0.24.0...v0.25.0

v0.24.0

Compare Source

✨ 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 'pandera[pandas]'  # recommended

# or
pip install pandas pandera
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

Importing pandera as pa for defining pandas schemas will still be available but will raise a warning. This will raise an ImportError in 5 minor releases (0.29.0).

What's Changed

New Contributors

Full Changelog: unionai-oss/pandera@v0.23.1...v0.24.0

v0.23.1

Compare Source

What's Changed

New Contributors

Special shoutout to the new contributors!

Full Changelog: unionai-oss/pandera@v0.23.0...v0.23.1

v0.23.0: : Improve pydantic compatibility, add json_normalize, bugfixes

Compare Source

What's Changed

New Contributors

Full Changelog: unionai-oss/pandera@v0.22.1...v0.23.0

v0.22.1: : Fix check_input decorator regression

Compare Source

What's Changed

Full Changelog: unionai-oss/pandera@v0.22.0...v0.22.1

v0.22.0: : Improve validation runtime performance by 4x

Compare Source

⭐️ Highlight

In this release, dependencies on multimethod and wrapt were removed and optimizations were made to speed up validation performance by up to 4x (depending on the validation rules. For simple cases speedup is ~4x see here).

What's Changed

New Contributors

Full Changelog: unionai-oss/pandera@v0.21.1...v0.22.0

v0.21.1: : Type bugfixes and regression fixes

Compare Source

What's Changed

New Contributors

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot changed the title fix(deps): update dependency pandera to ==0.30.* fix(deps): update dependency pandera to ==0.31.* Apr 14, 2026
@renovate renovate Bot force-pushed the renovate/pandera-0.x branch from 9eef49b to 9aebd0d Compare April 14, 2026 05:16
@renovate renovate Bot force-pushed the renovate/pandera-0.x branch from 9aebd0d to 024228c Compare April 15, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants