[][src]Function tsxlib::io::csv::write_to_file_simple

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

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