pub struct DataFrameCollection { /* private fields */ }Implementations§
Source§impl DataFrameCollection
impl DataFrameCollection
pub fn new( df_schematics: HashMap<String, DataFrameSchematic>, ) -> DataFrameCollection
pub async fn set_minimum_rows( &self, schematic_key: &str, minimum_rows: u32, ) -> bool
pub async fn insert_inner_map( &self, outer_key: String, inner_key: String, ) -> bool
pub async fn append_data_point<T>(
&self,
outer_key: &str,
data_point: &T,
) -> PolarsResult<u32>where
T: RawData,
pub async fn append_series<T>(
&self,
outer_key: &str,
series_data: HashMap<PlSmallStr, Series>,
series_data_length: usize,
raw_data_type: &T,
) -> PolarsResult<u32>where
T: RawData,
pub async fn df_schematic_keys(&self) -> Vec<String>
pub async fn inner_keys_of_outer(&self, outer_key: &str) -> Option<Vec<String>>
pub async fn outer_keys_of_inner( &self, inner_key: &str, ) -> PolarsResult<Vec<String>>
pub async fn df_height( &self, outer_key: &str, inner_key: &str, ) -> PolarsResult<usize>
pub async fn evict_df( &self, outer_key: &str, inner_key: &str, ) -> PolarsResult<bool>
pub async fn evict_outer(&self, outer_key: &str) -> PolarsResult<bool>
pub async fn evict_inner(&self, inner_key: &str) -> PolarsResult<u32>
pub async fn remove_df_map_entry( &self, outer_key: &str, inner_key: &str, ) -> PolarsResult<bool>
pub async fn df_to_arrow( &self, outer_key: &str, inner_key: &str, n_rows: Option<u32>, exclude_columns: Option<Vec<String>>, ) -> PolarsResult<(Arc<ArrowSchema>, Vec<ArrowRecordBatch>)>
Trait Implementations§
Source§impl Clone for DataFrameCollection
impl Clone for DataFrameCollection
Source§fn clone(&self) -> DataFrameCollection
fn clone(&self) -> DataFrameCollection
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 moreAuto Trait Implementations§
impl Freeze for DataFrameCollection
impl !RefUnwindSafe for DataFrameCollection
impl Send for DataFrameCollection
impl Sync for DataFrameCollection
impl Unpin for DataFrameCollection
impl !UnwindSafe for DataFrameCollection
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 more