polars_time

Trait PolarsTruncate

Source
pub trait PolarsTruncate {
    // Required method
    fn truncate(
        &self,
        tz: Option<&Tz>,
        every: &StringChunked,
    ) -> PolarsResult<Self>
       where Self: Sized;
}

Required Methods§

Source

fn truncate(&self, tz: Option<&Tz>, every: &StringChunked) -> PolarsResult<Self>
where Self: Sized,

Implementations on Foreign Types§

Source§

impl PolarsTruncate for DateChunked

Source§

fn truncate( &self, _tz: Option<&Tz>, every: &StringChunked, ) -> PolarsResult<Self>

Source§

impl PolarsTruncate for DatetimeChunked

Source§

fn truncate(&self, tz: Option<&Tz>, every: &StringChunked) -> PolarsResult<Self>

Implementors§