Skip to main content

coerce_string_to_date

Function coerce_string_to_date 

Source
pub fn coerce_string_to_date(
    infer: &mut DatetimeInfer<Int32Type>,
    ca: &ChunkedArray<StringType>,
) -> Result<Logical<DateType, Int32Type>, PolarsError>
Available on crate feature dtype-date and crate feature temporal and (crate features dtype-date or dtype-datetime or temporal) only.
Expand description

Apply a pre-built DatetimeInfer<Int32Type> to a StringChunked, returning a DateChunked.