DataFrameComparison.num_rows_right#
- DataFrameComparison.num_rows_right() int[source]#
Number of rows in the right data frame.
Examples
>>> import polars as pl >>> from diffly import compare_frames >>> left = pl.DataFrame({"id": [1, 2, 3], "value": [10.0, 20.0, 30.0]}) >>> right = pl.DataFrame({"id": [1, 2], "value": [10.0, 25.0]}) >>> comparison = compare_frames(left, right, primary_key="id") >>> comparison.num_rows_right() 2