pub struct FixtureExpectedDataFrame {
pub index: Vec<IndexLabel>,
pub columns: BTreeMap<String, Vec<Scalar>>,
pub column_order: Option<Vec<String>>,
pub row_multiindex: Option<FixtureMultiIndex>,
pub column_multiindex: Option<FixtureMultiIndex>,
}Fields§
§index: Vec<IndexLabel>§columns: BTreeMap<String, Vec<Scalar>>§column_order: Option<Vec<String>>§row_multiindex: Option<FixtureMultiIndex>§column_multiindex: Option<FixtureMultiIndex>The COLUMN axis when pandas returns more than one level, e.g.
df.groupby(k).agg({'x': ['sum','mean']}) -> [('x','sum'),('x','mean')].
Absent means a flat axis, so every existing fixture keeps its meaning.
Without this key the format could not express pandas’ answer for the
dict-of-lists agg at all, which is why fp_p2d_430 diverged as a column
SET mismatch against stringified tuples. (br-frankenpandas-nv5ct)
Trait Implementations§
Source§impl Clone for FixtureExpectedDataFrame
impl Clone for FixtureExpectedDataFrame
Source§impl Debug for FixtureExpectedDataFrame
impl Debug for FixtureExpectedDataFrame
Source§impl<'de> Deserialize<'de> for FixtureExpectedDataFrame
impl<'de> Deserialize<'de> for FixtureExpectedDataFrame
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 FixtureExpectedDataFrame
impl PartialEq for FixtureExpectedDataFrame
Source§impl Serialize for FixtureExpectedDataFrame
impl Serialize for FixtureExpectedDataFrame
impl StructuralPartialEq for FixtureExpectedDataFrame
Auto Trait Implementations§
impl !RefUnwindSafe for FixtureExpectedDataFrame
impl !UnwindSafe for FixtureExpectedDataFrame
impl Freeze for FixtureExpectedDataFrame
impl Send for FixtureExpectedDataFrame
impl Sync for FixtureExpectedDataFrame
impl Unpin for FixtureExpectedDataFrame
impl UnsafeUnpin for FixtureExpectedDataFrame
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