pub struct Table { /* private fields */ }Implementations§
Source§impl Table
 
impl Table
pub fn from_path( path: &Path, options: FromCsvOptions<'_>, handle_progress_event: &mut impl FnMut(LoadProgressEvent), ) -> Result<Table>
pub fn from_csv<R>( reader: &mut Reader<R>, len: u64, options: FromCsvOptions<'_>, handle_progress_event: &mut impl FnMut(LoadProgressEvent), ) -> Result<Table>
Source§impl Table
 
impl Table
pub fn new( column_names: Vec<Option<String>>, column_types: Vec<TableColumnType>, ) -> Table
pub fn columns(&self) -> &Vec<TableColumn>
pub fn columns_mut(&mut self) -> &mut Vec<TableColumn>
pub fn ncols(&self) -> usize
pub fn nrows(&self) -> usize
pub fn view(&self) -> TableView<'_>
pub fn to_rows_f32(&self) -> Option<Array2<f32>>
pub fn to_rows(&self) -> Array2<TableValue<'_>>
Trait Implementations§
impl StructuralPartialEq for Table
Auto Trait Implementations§
impl Freeze for Table
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnwindSafe for Table
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> 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