pub struct FixtureDataFrame {
pub index: Vec<IndexLabel>,
pub columns: OrderedColumnData,
pub column_order: Option<Vec<String>>,
pub categorical_columns: Option<BTreeMap<String, FixtureCategoricalColumn>>,
pub row_multiindex: Option<FixtureMultiIndex>,
}Fields§
§index: Vec<IndexLabel>§columns: OrderedColumnDataColumn data, plus the order the fixture WROTE the columns in.
A plain BTreeMap here sorted the names, so a frame whose JSON reads
{lk1, lk2, left_v} was handed to FrankenPandas as left_v, lk1, lk2
while the oracle — a Python dict, which preserves document order — got
the original. The two sides were being given different frames.
(br-frankenpandas-i9mgp)
column_order: Option<Vec<String>>§categorical_columns: Option<BTreeMap<String, FixtureCategoricalColumn>>§row_multiindex: Option<FixtureMultiIndex>Trait Implementations§
Source§impl Clone for FixtureDataFrame
impl Clone for FixtureDataFrame
Source§impl Debug for FixtureDataFrame
impl Debug for FixtureDataFrame
Source§impl<'de> Deserialize<'de> for FixtureDataFrame
impl<'de> Deserialize<'de> for FixtureDataFrame
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FixtureDataFrame
impl PartialEq for FixtureDataFrame
Source§impl Serialize for FixtureDataFrame
impl Serialize for FixtureDataFrame
impl StructuralPartialEq for FixtureDataFrame
Auto Trait Implementations§
impl !RefUnwindSafe for FixtureDataFrame
impl !UnwindSafe for FixtureDataFrame
impl Freeze for FixtureDataFrame
impl Send for FixtureDataFrame
impl Sync for FixtureDataFrame
impl Unpin for FixtureDataFrame
impl UnsafeUnpin for FixtureDataFrame
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).
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