Trait polars::prelude::DurationMethods
source · [−]pub trait DurationMethods {
fn hours(&self) -> ChunkedArray<Int64Type>;
fn days(&self) -> ChunkedArray<Int64Type>;
fn milliseconds(&self) -> ChunkedArray<Int64Type>;
fn nanoseconds(&self) -> ChunkedArray<Int64Type>;
fn seconds(&self) -> ChunkedArray<Int64Type>;
}
Required methods
fn hours(&self) -> ChunkedArray<Int64Type>
fn hours(&self) -> ChunkedArray<Int64Type>
Extract the hours from a Duration
fn days(&self) -> ChunkedArray<Int64Type>
fn days(&self) -> ChunkedArray<Int64Type>
Extract the days from a Duration
fn milliseconds(&self) -> ChunkedArray<Int64Type>
fn milliseconds(&self) -> ChunkedArray<Int64Type>
Extract the milliseconds from a Duration
fn nanoseconds(&self) -> ChunkedArray<Int64Type>
fn nanoseconds(&self) -> ChunkedArray<Int64Type>
Extract the nanoseconds from a Duration
fn seconds(&self) -> ChunkedArray<Int64Type>
fn seconds(&self) -> ChunkedArray<Int64Type>
Extract the seconds from a Duration