pub struct DataFrameDictTight {
pub index: Vec<Scalar>,
pub columns: DataFrameDictAxisLabels,
pub data: Vec<Vec<Scalar>>,
pub index_names: Vec<Option<String>>,
pub column_names: Vec<Option<String>>,
}Expand description
Pandas 2.2 to_dict(orient='tight') payload.
Fields§
§index: Vec<Scalar>Row index labels, in row order.
columns: DataFrameDictAxisLabelsColumn labels, in column order. Flat columns stay flat; MultiIndex columns are emitted as tuples of level labels.
data: Vec<Vec<Scalar>>Row-major nested data: data[row][col].
index_names: Vec<Option<String>>Names of each index level (pandas emits [None] for an
unnamed single-level index).
column_names: Vec<Option<String>>Names of each column level (always [None] until MultiIndex
columns land).
Trait Implementations§
Source§impl Clone for DataFrameDictTight
impl Clone for DataFrameDictTight
Source§fn clone(&self) -> DataFrameDictTight
fn clone(&self) -> DataFrameDictTight
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DataFrameDictTight
impl Debug for DataFrameDictTight
Source§impl PartialEq for DataFrameDictTight
impl PartialEq for DataFrameDictTight
Source§fn eq(&self, other: &DataFrameDictTight) -> bool
fn eq(&self, other: &DataFrameDictTight) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DataFrameDictTight
Auto Trait Implementations§
impl Freeze for DataFrameDictTight
impl RefUnwindSafe for DataFrameDictTight
impl Send for DataFrameDictTight
impl Sync for DataFrameDictTight
impl Unpin for DataFrameDictTight
impl UnsafeUnpin for DataFrameDictTight
impl UnwindSafe for DataFrameDictTight
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