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