Function write_to_file_simple

Source
pub fn write_to_file_simple<TDate, T>(
    file_path: &str,
    ts: &TimeSeries<TDate, T>,
) -> Result<(), Box<dyn Error>>
where TDate: Serialize + Hash + Copy + Eq + Ord, T: Serialize + Copy,
Expand description

Simple wrapper to save a timeseries to a csv, does not work when T is a nonprimitive type