pub struct DataFrameDictTight {
pub index: Vec<Scalar>,
pub columns: DataFrameDictAxisLabels,
pub data: Vec<Vec<Scalar>>,
pub index_names: Vec<Option<LabelName>>,
pub column_names: Vec<Option<LabelName>>,
}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<LabelName>>Names of each index level (pandas emits [None] for an
unnamed single-level index), typed (fvsao.64).
column_names: Vec<Option<LabelName>>Names of each column level, typed.
Trait Implementations§
Source§impl Clone for DataFrameDictTight
impl Clone for DataFrameDictTight
Source§impl Debug for DataFrameDictTight
impl Debug for DataFrameDictTight
Source§impl PartialEq for DataFrameDictTight
impl PartialEq for DataFrameDictTight
impl StructuralPartialEq for DataFrameDictTight
Auto Trait Implementations§
impl !RefUnwindSafe for DataFrameDictTight
impl !UnwindSafe for DataFrameDictTight
impl Forget for DataFrameDictTight
impl Freeze for DataFrameDictTight
impl Move for DataFrameDictTight
impl Send for DataFrameDictTight
impl Sync for DataFrameDictTight
impl Unpin for DataFrameDictTight
impl UnsafeUnpin 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
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