Download Latest Version v0.26.1_ Multi-index, _@check_types_ Bugfixes source code.tar.gz (544.8 kB)
Email in envelope

Get an email when there's a new version of Union Pandera

Home / v0.25.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-07-08 6.2 kB
v0.25.0_ Support Ibis table validation source code.tar.gz 2025-07-08 539.5 kB
v0.25.0_ Support Ibis table validation source code.zip 2025-07-08 725.3 kB
Totals: 3 Items   1.3 MB 1

⭐️ Highlight

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

In-memory table example:

:::python
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:

:::python
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: https://github.com/unionai-oss/pandera/compare/v0.24.0...v0.25.0

Source: README.md, updated 2025-07-08