Trait polars_core::series::IntoSeries
source · pub unsafe trait IntoSeries {
fn into_series(self) -> Series
where
Self: Sized;
fn is_series() -> bool { ... }
}
Expand description
Used to convert a ChunkedArray
, &dyn SeriesTrait
and Series
into a Series
.
Safety
This trait is marked unsafe
as the is_series
return is used
to transmute to Series
. This must always return false
except
for Series
structs.
Required Methods§
fn into_series(self) -> Serieswhere
Self: Sized,
Provided Methods§
Implementors§
impl IntoSeries for CategoricalChunked
Available on crate feature
dtype-categorical
only.impl IntoSeries for StructChunked
Available on crate feature
dtype-struct
only.impl IntoSeries for Arc<dyn SeriesTrait>
impl IntoSeries for Series
impl IntoSeries for DateChunked
Available on crate features
dtype-datetime
or dtype-date
or dtype-time
only.impl IntoSeries for DatetimeChunked
Available on crate feature
dtype-datetime
only.impl IntoSeries for DurationChunked
Available on crate feature
dtype-duration
only.impl IntoSeries for TimeChunked
Available on crate features
dtype-datetime
or dtype-date
or dtype-time
only.