Type Definition polars_core::datatypes::DateChunked
source · Available on crate feature
dtype-date
only.Implementations§
source§impl DateChunked
impl DateChunked
pub fn as_date_iter(
&self
) -> impl Iterator<Item = Option<NaiveDate>> + TrustedLen + '_
Available on crate features
temporal
or dtype-datetime
or dtype-date
only.sourcepub fn from_naive_date<I: IntoIterator<Item = NaiveDate>>(
name: &str,
v: I
) -> Self
Available on crate features temporal
or dtype-datetime
or dtype-date
only.
pub fn from_naive_date<I: IntoIterator<Item = NaiveDate>>(
name: &str,
v: I
) -> Self
temporal
or dtype-datetime
or dtype-date
only.Construct a new DateChunked
from an iterator over NaiveDate
.
sourcepub fn strftime(&self, fmt: &str) -> Utf8Chunked
Available on crate features temporal
or dtype-datetime
or dtype-date
only.
pub fn strftime(&self, fmt: &str) -> Utf8Chunked
temporal
or dtype-datetime
or dtype-date
only.Format Date with a fmt
rule. See chrono strftime/strptime.
sourcepub fn from_naive_date_options<I: IntoIterator<Item = Option<NaiveDate>>>(
name: &str,
v: I
) -> Self
Available on crate features temporal
or dtype-datetime
or dtype-date
only.
pub fn from_naive_date_options<I: IntoIterator<Item = Option<NaiveDate>>>(
name: &str,
v: I
) -> Self
temporal
or dtype-datetime
or dtype-date
only.Construct a new DateChunked
from an iterator over optional NaiveDate
.
Trait Implementations§
source§impl From<ChunkedArray<Int32Type>> for DateChunked
impl From<ChunkedArray<Int32Type>> for DateChunked
source§fn from(ca: Int32Chunked) -> Self
fn from(ca: Int32Chunked) -> Self
Converts to this type from the input type.
source§impl IntoSeries for DateChunked
Available on crate features dtype-datetime
or dtype-date
or dtype-time
only.
impl IntoSeries for DateChunked
Available on crate features
dtype-datetime
or dtype-date
or dtype-time
only.source§impl LogicalType for DateChunked
impl LogicalType for DateChunked
source§fn get_any_value(&self, i: usize) -> PolarsResult<AnyValue<'_>>
fn get_any_value(&self, i: usize) -> PolarsResult<AnyValue<'_>>
Gets AnyValue from LogicalType