Schemas.left_only#
- Schemas.left_only() Schema[source]#
Columns that are only present in the left 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.left_only() {'value': Float64}