Schemas.right_only#
- Schemas.right_only() Schema[source]#
Columns that are only present in the right data frame, mapped to their data types.
Examples
>>> import polars as pl >>> from diffly import compare_frames >>> left = pl.DataFrame({"id": [1], "value": [10.0]}) >>> right = pl.DataFrame({"id": [1], "score": [100]}) >>> compare_frames(left, right, primary_key="id").schemas.right_only() {'score': Int64}