pub struct ExtensionChunked { /* private fields */ }Implementations§
Source§impl ExtensionChunked
impl ExtensionChunked
pub fn from_storage( typ: ExtensionTypeInstance, storage: Series, ) -> ExtensionChunked
pub fn name(&self) -> &PlSmallStr
pub fn rename(&mut self, name: PlSmallStr)
pub fn field(&self) -> Field
pub fn dtype(&self) -> &DataType
pub fn extension_type(&self) -> &ExtensionTypeInstance
pub fn storage(&self) -> &Series
pub fn storage_mut(&mut self) -> &mut Series
pub fn into_storage(self) -> Series
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn get_any_value(&self, i: usize) -> Result<AnyValue<'_>, PolarsError>
pub fn cast_with_options( &self, dtype: &DataType, _options: CastOptions, ) -> Result<Series, PolarsError>
Trait Implementations§
Source§impl<'py> ApplyLambdaGeneric<'py> for ExtensionChunked
impl<'py> ApplyLambdaGeneric<'py> for ExtensionChunked
Source§impl Clone for ExtensionChunked
impl Clone for ExtensionChunked
Source§fn clone(&self) -> ExtensionChunked
fn clone(&self) -> ExtensionChunked
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl IntoSeries for ExtensionChunked
impl IntoSeries for ExtensionChunked
Auto Trait Implementations§
impl Freeze for ExtensionChunked
impl !RefUnwindSafe for ExtensionChunked
impl Send for ExtensionChunked
impl Sync for ExtensionChunked
impl Unpin for ExtensionChunked
impl !UnwindSafe for ExtensionChunked
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoColumn for Twhere
T: IntoSeries,
impl<T> IntoColumn for Twhere
T: IntoSeries,
fn into_column(self) -> Column
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more