You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: py_tabular_diff.rs
    path of file: ./repos/oxen-release/oxen/src/diff
    
    the code of the file until where you have to start completion: 
use liboxen::model::diff::tabular_diff::TabularDiff;
use pyo3::prelude::*;
use pyo3_polars::PyDataFrame;

use liboxen::model::diff::AddRemoveModifyCounts;
use liboxen::model::schema::Schema;

#[pyclass]
pub struct PyTabularDiffMods {
    pub rows: AddRemoveModifyCounts,
}

#[pyclass]
pub struct PyTabularDiffSummary {
    pub modifications: Py
    
    fn from(other: &TabularDiff) -> Self {
        let df = &other.contents;
        let summary = &other.summary;
        let rows = AddRemoveModifyCounts {
            added: summary.modifications.row_counts.added,
            removed: summary.modifications.row_counts.removed,
            modified: summary.modifications.row_counts.modified,
        };
        let mods = PyTabularDiffMods {
            rows,
        };
        let summary = PyTabularDiffSummary {
            modifications: mods,
            schema: Schema::from_polars(&df.schema()),
        };
        let data = PyDataFrame(df.clone());
        Self { summary, data }
    }