pub struct IMDataFrameElement(/* private fields */);Implementations§
Source§impl IMDataFrameElement
impl IMDataFrameElement
pub fn new(df: DataFrame, index: DataFrameIndex) -> Self
pub fn get_data(&self) -> DataFrame
pub fn get_index(&self) -> DataFrameIndex
pub fn set_both(&self, df: DataFrame, index: DataFrameIndex) -> Result<()>
pub fn set_data(&self, df: DataFrame) -> Result<()>
pub fn set_index(&self, index: DataFrameIndex) -> Result<()>
pub fn attach_column_to_df(&self, column: Series) -> Result<()>
pub fn remove_column_from_df(&self, column_name: &str) -> Result<()>
pub fn get_column_from_df(&self, column_name: &str) -> Result<Column>
pub fn set_column_in_df(&self, column_name: &str, column: Series) -> Result<()>
pub fn subset_inplace(&self, s: &SelectInfoElem) -> Result<()>
pub fn subset(&self, s: &SelectInfoElem) -> Result<Self>
Trait Implementations§
Source§impl Clone for IMDataFrameElement
impl Clone for IMDataFrameElement
Source§impl DeepClone for IMDataFrameElement
impl DeepClone for IMDataFrameElement
fn deep_clone(&self) -> Self
Auto Trait Implementations§
impl Freeze for IMDataFrameElement
impl !RefUnwindSafe for IMDataFrameElement
impl Send for IMDataFrameElement
impl Sync for IMDataFrameElement
impl Unpin for IMDataFrameElement
impl !UnwindSafe for IMDataFrameElement
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> 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 moreSource§impl<T> Key for Twhere
T: Clone,
impl<T> Key for Twhere
T: Clone,
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.