causal-hub 0.1.0

A hub for Causal Data Science.
Documentation
use std::{collections::BTreeSet, fmt::Debug, ops::Deref};

use polars::prelude::*;

/// Data set trait.
pub trait DataSet: Clone + Debug + Deref<Target = Self::Data> + From<DataFrame> + Sync {
    /// Data set underlying data structure.
    type Data;

    /// Gets the set of variables labels.
    fn labels(&self) -> &BTreeSet<String>;
}