pub fn cast_f64(&self) -> TimeSeries<'a, f64> {
        let mut data = Vec::with_capacity(self.values.len());
        for val in self.values.iter() {
            let v = *val;
            data.push(v.into());
        }
        TimeSeries::new_unchecked(self.timeline, data)
    }
/// Change underlying data series into 64-bit float type. The source type has to
/// be capable of beinng converted e.e. won't work on String
Change underlying data series into 64-bit float type. The source type has to
be capable of beinng converted e.e. won't work on String
Change underlying data series into 64 - bit float type . The source type has to be capable of beinng converted e . e . won ' t work on String
pub fn cast_f64(&self) -> TimeSeries<'a, f64> {
        let mut data = Vec::with_capacity(self.values.len());
        for val in self.values.iter() {
            let v = *val;
            data.push(v.into());
        }
        TimeSeries::new_unchecked(self.timeline, data)
    }
pub fn cast_f64 ( & self ) -> TimeSeries < ' a , f64 > { let mut data = Vec :: with_capacity ( self . values . len ( ) ) ; for val in self . values . iter ( ) { let v = * val ; data . push ( v . into ( ) ) ; } TimeSeries :: new_unchecked ( self . timeline , data ) }
Change underlying data series into 64-bit float type.
Change underlying data series into 64 - bit float type .
&self
&self