All required

This commit is contained in:
Andras Schmelczer 2026-06-06 10:45:35 +01:00
parent 44b4e0d72f
commit df63764a9f
7 changed files with 45 additions and 128 deletions

View file

@ -40,14 +40,6 @@ pub struct CrimeByYearData {
}
impl CrimeByYearData {
pub fn empty() -> Self {
Self {
crime_types: Vec::new(),
years_by_type: Vec::new(),
series_by_postcode: FxHashMap::default(),
}
}
pub fn load(path: &Path) -> anyhow::Result<Self> {
run_polars_io(|| Self::load_inner(path))
}