Type Definition polars_core::datatypes::TimeChunked
source · Available on crate feature
dtype-time
only.Implementations§
source§impl TimeChunked
impl TimeChunked
pub fn as_time_iter(
&self
) -> impl Iterator<Item = Option<NaiveTime>> + TrustedLen + '_
Available on crate features
temporal
or dtype-datetime
or dtype-date
only.sourcepub fn from_naive_time<I: IntoIterator<Item = NaiveTime>>(
name: &str,
v: I
) -> Self
Available on crate features temporal
or dtype-datetime
or dtype-date
only.
pub fn from_naive_time<I: IntoIterator<Item = NaiveTime>>(
name: &str,
v: I
) -> Self
temporal
or dtype-datetime
or dtype-date
only.Construct a new TimeChunked
from an iterator over NaiveTime
.
sourcepub fn from_naive_time_options<I: IntoIterator<Item = Option<NaiveTime>>>(
name: &str,
v: I
) -> Self
Available on crate features temporal
or dtype-datetime
or dtype-date
only.
pub fn from_naive_time_options<I: IntoIterator<Item = Option<NaiveTime>>>(
name: &str,
v: I
) -> Self
temporal
or dtype-datetime
or dtype-date
only.Construct a new TimeChunked
from an iterator over optional NaiveTime
.
Trait Implementations§
source§impl From<ChunkedArray<Int64Type>> for TimeChunked
impl From<ChunkedArray<Int64Type>> for TimeChunked
source§fn from(ca: Int64Chunked) -> Self
fn from(ca: Int64Chunked) -> Self
Converts to this type from the input type.
source§impl IntoSeries for TimeChunked
Available on crate features dtype-datetime
or dtype-date
or dtype-time
only.
impl IntoSeries for TimeChunked
Available on crate features
dtype-datetime
or dtype-date
or dtype-time
only.source§impl LogicalType for TimeChunked
impl LogicalType for TimeChunked
source§fn get_any_value(&self, i: usize) -> PolarsResult<AnyValue<'_>>
fn get_any_value(&self, i: usize) -> PolarsResult<AnyValue<'_>>
Gets AnyValue from LogicalType