pub struct DataTable { /* private fields */ }
Expand description
A table with data
This corresponds to a DataFrame
Implementations§
Source§impl DataTable
impl DataTable
Sourcepub fn data(&self) -> Vec<RecordBatch>
pub fn data(&self) -> Vec<RecordBatch>
The content of the DataTable
It is guarnateed that all batches have
exactly the same Schema
Sourcepub fn data_ref(&self) -> &[RecordBatch]
pub fn data_ref(&self) -> &[RecordBatch]
The content of the DataTable
It is guarnateed that all batches have
exactly the same Schema
Sourcepub fn num_columns(&self) -> usize
pub fn num_columns(&self) -> usize
The number of columns in the DataTable
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DataTable
impl !RefUnwindSafe for DataTable
impl Send for DataTable
impl Sync for DataTable
impl Unpin for DataTable
impl !UnwindSafe for DataTable
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