Skip to main content

IntoSeries

Trait IntoSeries 

Source
pub unsafe trait IntoSeries {
    // Required method
    fn into_series(self) -> Series
       where Self: Sized;

    // Provided method
    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§

Source

fn into_series(self) -> Series
where Self: Sized,

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl IntoSeries for Arc<dyn SeriesTrait>

Source§

impl IntoSeries for DecimalChunked

Available on crate feature dtype-decimal only.
Source§

impl IntoSeries for NullChunked

Source§

impl IntoSeries for Series

Source§

impl<T: PolarsCategoricalType> IntoSeries for CategoricalChunked<T>

Available on crate feature dtype-categorical only.
Source§

impl<T: PolarsPhysicalType> IntoSeries for ChunkedArray<T>