polars::prelude

Trait NamedFrom

Source
pub trait NamedFrom<T, Phantom>
where Phantom: ?Sized,
{ // Required method fn new(name: PlSmallStr, _: T) -> Self; }

Required Methods§

Source

fn new(name: PlSmallStr, _: T) -> Self

Initialize by name and values.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl NamedFrom<&Series, str> for Series

Source§

impl NamedFrom<Range<i32>, Int32Type> for ChunkedArray<Int32Type>

Source§

impl NamedFrom<Range<i32>, Int32Type> for Series

Source§

impl NamedFrom<Range<i64>, Int64Type> for ChunkedArray<Int64Type>

Source§

impl NamedFrom<Range<i64>, Int64Type> for Series

Source§

impl NamedFrom<Range<u32>, UInt32Type> for ChunkedArray<UInt32Type>

Source§

impl NamedFrom<Range<u32>, UInt32Type> for Series

Source§

impl NamedFrom<Range<u64>, UInt64Type> for ChunkedArray<UInt64Type>

Source§

impl NamedFrom<Range<u64>, UInt64Type> for Series

Source§

impl<'a, T> NamedFrom<T, [&'a str]> for ChunkedArray<StringType>
where T: AsRef<[&'a str]>,

Source§

impl<'a, T> NamedFrom<T, [&'a str]> for Series
where T: AsRef<[&'a str]>,

Source§

impl<'a, T> NamedFrom<T, [&'a [u8]]> for ChunkedArray<BinaryType>
where T: AsRef<[&'a [u8]]>,

Source§

impl<'a, T> NamedFrom<T, [&'a [u8]]> for Series
where T: AsRef<[&'a [u8]]>,

Source§

impl<'a, T> NamedFrom<T, [AnyValue<'a>]> for Series
where T: AsRef<[AnyValue<'a>]>,

Source§

impl<'a, T> NamedFrom<T, [Cow<'a, str>]> for ChunkedArray<StringType>
where T: AsRef<[Cow<'a, str>]>,

Source§

impl<'a, T> NamedFrom<T, [Cow<'a, str>]> for Series
where T: AsRef<[Cow<'a, str>]>,

Source§

impl<'a, T> NamedFrom<T, [Cow<'a, [u8]>]> for ChunkedArray<BinaryType>
where T: AsRef<[Cow<'a, [u8]>]>,

Source§

impl<'a, T> NamedFrom<T, [Cow<'a, [u8]>]> for Series
where T: AsRef<[Cow<'a, [u8]>]>,

Source§

impl<'a, T> NamedFrom<T, [Option<&'a str>]> for ChunkedArray<StringType>
where T: AsRef<[Option<&'a str>]>,

Source§

impl<'a, T> NamedFrom<T, [Option<&'a str>]> for Series
where T: AsRef<[Option<&'a str>]>,

Source§

impl<'a, T> NamedFrom<T, [Option<&'a [u8]>]> for ChunkedArray<BinaryType>
where T: AsRef<[Option<&'a [u8]>]>,

Source§

impl<'a, T> NamedFrom<T, [Option<&'a [u8]>]> for Series
where T: AsRef<[Option<&'a [u8]>]>,

Source§

impl<'a, T> NamedFrom<T, [Option<Cow<'a, str>>]> for ChunkedArray<StringType>
where T: AsRef<[Option<Cow<'a, str>>]>,

Source§

impl<'a, T> NamedFrom<T, [Option<Cow<'a, str>>]> for Series
where T: AsRef<[Option<Cow<'a, str>>]>,

Source§

impl<'a, T> NamedFrom<T, [Option<Cow<'a, [u8]>>]> for ChunkedArray<BinaryType>
where T: AsRef<[Option<Cow<'a, [u8]>>]>,

Source§

impl<'a, T> NamedFrom<T, [Option<Cow<'a, [u8]>>]> for Series
where T: AsRef<[Option<Cow<'a, [u8]>>]>,

Source§

impl<T> NamedFrom<&[T], &[T]> for ChunkedArray<ObjectType<T>>
where T: PolarsObject,

Available on crate feature object only.
Source§

impl<T> NamedFrom<T, ListType> for Series
where T: AsRef<[Series]>,

Source§

impl<T> NamedFrom<T, T> for Series
where T: IntoSeries,

For any ChunkedArray and Series

Source§

impl<T> NamedFrom<T, [Option<bool>]> for ChunkedArray<BooleanType>
where T: AsRef<[Option<bool>]>,

Source§

impl<T> NamedFrom<T, [Option<bool>]> for Series
where T: AsRef<[Option<bool>]>,

Source§

impl<T> NamedFrom<T, [Option<f32>]> for ChunkedArray<Float32Type>
where T: AsRef<[Option<f32>]>,

Source§

impl<T> NamedFrom<T, [Option<f32>]> for Series
where T: AsRef<[Option<f32>]>,

Source§

impl<T> NamedFrom<T, [Option<f64>]> for ChunkedArray<Float64Type>
where T: AsRef<[Option<f64>]>,

Source§

impl<T> NamedFrom<T, [Option<f64>]> for Series
where T: AsRef<[Option<f64>]>,

Source§

impl<T> NamedFrom<T, [Option<i8>]> for ChunkedArray<Int8Type>
where T: AsRef<[Option<i8>]>,

Source§

impl<T> NamedFrom<T, [Option<i8>]> for Series
where T: AsRef<[Option<i8>]>,

Source§

impl<T> NamedFrom<T, [Option<i16>]> for ChunkedArray<Int16Type>
where T: AsRef<[Option<i16>]>,

Source§

impl<T> NamedFrom<T, [Option<i16>]> for Series
where T: AsRef<[Option<i16>]>,

Source§

impl<T> NamedFrom<T, [Option<i32>]> for ChunkedArray<Int32Type>
where T: AsRef<[Option<i32>]>,

Source§

impl<T> NamedFrom<T, [Option<i32>]> for Series
where T: AsRef<[Option<i32>]>,

Source§

impl<T> NamedFrom<T, [Option<i64>]> for ChunkedArray<Int64Type>
where T: AsRef<[Option<i64>]>,

Source§

impl<T> NamedFrom<T, [Option<i64>]> for Series
where T: AsRef<[Option<i64>]>,

Source§

impl<T> NamedFrom<T, [Option<i128>]> for ChunkedArray<Int128Type>
where T: AsRef<[Option<i128>]>,

Source§

impl<T> NamedFrom<T, [Option<i128>]> for Series
where T: AsRef<[Option<i128>]>,

Source§

impl<T> NamedFrom<T, [Option<u8>]> for ChunkedArray<UInt8Type>
where T: AsRef<[Option<u8>]>,

Source§

impl<T> NamedFrom<T, [Option<u8>]> for Series
where T: AsRef<[Option<u8>]>,

Source§

impl<T> NamedFrom<T, [Option<u16>]> for ChunkedArray<UInt16Type>
where T: AsRef<[Option<u16>]>,

Source§

impl<T> NamedFrom<T, [Option<u16>]> for Series
where T: AsRef<[Option<u16>]>,

Source§

impl<T> NamedFrom<T, [Option<u32>]> for ChunkedArray<UInt32Type>
where T: AsRef<[Option<u32>]>,

Source§

impl<T> NamedFrom<T, [Option<u32>]> for Series
where T: AsRef<[Option<u32>]>,

Source§

impl<T> NamedFrom<T, [Option<u64>]> for ChunkedArray<UInt64Type>
where T: AsRef<[Option<u64>]>,

Source§

impl<T> NamedFrom<T, [Option<u64>]> for Series
where T: AsRef<[Option<u64>]>,

Source§

impl<T> NamedFrom<T, [Option<Series>]> for Series
where T: AsRef<[Option<Series>]>,

Source§

impl<T> NamedFrom<T, [Option<String>]> for ChunkedArray<StringType>
where T: AsRef<[Option<String>]>,

Source§

impl<T> NamedFrom<T, [Option<String>]> for Series
where T: AsRef<[Option<String>]>,

Source§

impl<T> NamedFrom<T, [Option<Vec<u8>>]> for ChunkedArray<BinaryType>
where T: AsRef<[Option<Vec<u8>>]>,

Source§

impl<T> NamedFrom<T, [Option<Vec<u8>>]> for Series
where T: AsRef<[Option<Vec<u8>>]>,

Source§

impl<T> NamedFrom<T, [Option<NaiveDate>]> for Logical<DateType, Int32Type>
where T: AsRef<[Option<NaiveDate>]>,

Available on crate feature dtype-date only.
Source§

impl<T> NamedFrom<T, [Option<NaiveDate>]> for Series
where T: AsRef<[Option<NaiveDate>]>,

Available on crate feature dtype-date only.
Source§

impl<T> NamedFrom<T, [Option<NaiveDateTime>]> for Logical<DatetimeType, Int64Type>
where T: AsRef<[Option<NaiveDateTime>]>,

Available on crate feature dtype-datetime only.
Source§

impl<T> NamedFrom<T, [Option<NaiveDateTime>]> for Series
where T: AsRef<[Option<NaiveDateTime>]>,

Available on crate feature dtype-datetime only.
Source§

impl<T> NamedFrom<T, [Option<NaiveTime>]> for Logical<TimeType, Int64Type>
where T: AsRef<[Option<NaiveTime>]>,

Available on crate feature dtype-time only.
Source§

impl<T> NamedFrom<T, [Option<NaiveTime>]> for Series
where T: AsRef<[Option<NaiveTime>]>,

Available on crate feature dtype-time only.
Source§

impl<T> NamedFrom<T, [Option<TimeDelta>]> for Logical<DurationType, Int64Type>
where T: AsRef<[Option<TimeDelta>]>,

Available on crate feature dtype-duration only.
Source§

impl<T> NamedFrom<T, [Option<TimeDelta>]> for Series
where T: AsRef<[Option<TimeDelta>]>,

Available on crate feature dtype-duration only.
Source§

impl<T> NamedFrom<T, [bool]> for ChunkedArray<BooleanType>
where T: AsRef<[bool]>,

Source§

impl<T> NamedFrom<T, [bool]> for Series
where T: AsRef<[bool]>,

Source§

impl<T> NamedFrom<T, [f32]> for ChunkedArray<Float32Type>
where T: AsRef<[f32]>,

Source§

impl<T> NamedFrom<T, [f32]> for Series
where T: AsRef<[f32]>,

Source§

impl<T> NamedFrom<T, [f64]> for ChunkedArray<Float64Type>
where T: AsRef<[f64]>,

Source§

impl<T> NamedFrom<T, [f64]> for Series
where T: AsRef<[f64]>,

Source§

impl<T> NamedFrom<T, [i8]> for ChunkedArray<Int8Type>
where T: AsRef<[i8]>,

Source§

impl<T> NamedFrom<T, [i8]> for Series
where T: AsRef<[i8]>,

Source§

impl<T> NamedFrom<T, [i16]> for ChunkedArray<Int16Type>
where T: AsRef<[i16]>,

Source§

impl<T> NamedFrom<T, [i16]> for Series
where T: AsRef<[i16]>,

Source§

impl<T> NamedFrom<T, [i32]> for ChunkedArray<Int32Type>
where T: AsRef<[i32]>,

Source§

impl<T> NamedFrom<T, [i32]> for Series
where T: AsRef<[i32]>,

Source§

impl<T> NamedFrom<T, [i64]> for ChunkedArray<Int64Type>
where T: AsRef<[i64]>,

Source§

impl<T> NamedFrom<T, [i64]> for Series
where T: AsRef<[i64]>,

Source§

impl<T> NamedFrom<T, [i128]> for ChunkedArray<Int128Type>
where T: AsRef<[i128]>,

Source§

impl<T> NamedFrom<T, [i128]> for Series
where T: AsRef<[i128]>,

Source§

impl<T> NamedFrom<T, [u8]> for ChunkedArray<UInt8Type>
where T: AsRef<[u8]>,

Source§

impl<T> NamedFrom<T, [u8]> for Series
where T: AsRef<[u8]>,

Source§

impl<T> NamedFrom<T, [u16]> for ChunkedArray<UInt16Type>
where T: AsRef<[u16]>,

Source§

impl<T> NamedFrom<T, [u16]> for Series
where T: AsRef<[u16]>,

Source§

impl<T> NamedFrom<T, [u32]> for ChunkedArray<UInt32Type>
where T: AsRef<[u32]>,

Source§

impl<T> NamedFrom<T, [u32]> for Series
where T: AsRef<[u32]>,

Source§

impl<T> NamedFrom<T, [u64]> for ChunkedArray<UInt64Type>
where T: AsRef<[u64]>,

Source§

impl<T> NamedFrom<T, [u64]> for Series
where T: AsRef<[u64]>,

Source§

impl<T> NamedFrom<T, [String]> for ChunkedArray<StringType>
where T: AsRef<[String]>,

Source§

impl<T> NamedFrom<T, [String]> for Series
where T: AsRef<[String]>,

Source§

impl<T> NamedFrom<T, [Vec<u8>]> for ChunkedArray<BinaryType>
where T: AsRef<[Vec<u8>]>,

Source§

impl<T> NamedFrom<T, [Vec<u8>]> for Series
where T: AsRef<[Vec<u8>]>,

Source§

impl<T> NamedFrom<T, [NaiveDate]> for Logical<DateType, Int32Type>
where T: AsRef<[NaiveDate]>,

Available on crate feature dtype-date only.
Source§

impl<T> NamedFrom<T, [NaiveDate]> for Series
where T: AsRef<[NaiveDate]>,

Available on crate feature dtype-date only.
Source§

impl<T> NamedFrom<T, [NaiveDateTime]> for Logical<DatetimeType, Int64Type>
where T: AsRef<[NaiveDateTime]>,

Available on crate feature dtype-datetime only.
Source§

impl<T> NamedFrom<T, [NaiveDateTime]> for Series
where T: AsRef<[NaiveDateTime]>,

Available on crate feature dtype-datetime only.
Source§

impl<T> NamedFrom<T, [NaiveTime]> for Logical<TimeType, Int64Type>
where T: AsRef<[NaiveTime]>,

Available on crate feature dtype-time only.
Source§

impl<T> NamedFrom<T, [NaiveTime]> for Series
where T: AsRef<[NaiveTime]>,

Available on crate feature dtype-time only.
Source§

impl<T> NamedFrom<T, [TimeDelta]> for Logical<DurationType, Int64Type>
where T: AsRef<[TimeDelta]>,

Available on crate feature dtype-duration only.
Source§

impl<T> NamedFrom<T, [TimeDelta]> for Series
where T: AsRef<[TimeDelta]>,

Available on crate feature dtype-duration only.
Source§

impl<T, S> NamedFrom<S, [Option<T>]> for ChunkedArray<ObjectType<T>>
where T: PolarsObject, S: AsRef<[Option<T>]>,

Available on crate feature object only.