pub struct SeriesXArrayDataArray {
pub dim_name: String,
pub coords: BTreeMap<String, Vec<Scalar>>,
pub dims: Vec<String>,
pub data: Vec<Scalar>,
pub dtype: DType,
pub name: Option<String>,
}Expand description
xarray DataArray representation of a Series.
Matches the shape returned by pd.Series.to_xarray(): a single 1-D
array with the Series index as its coordinate/dimension.
Fields§
§dim_name: String§coords: BTreeMap<String, Vec<Scalar>>§dims: Vec<String>§data: Vec<Scalar>§dtype: DType§name: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for SeriesXArrayDataArray
impl Clone for SeriesXArrayDataArray
Source§impl Debug for SeriesXArrayDataArray
impl Debug for SeriesXArrayDataArray
Source§impl PartialEq for SeriesXArrayDataArray
impl PartialEq for SeriesXArrayDataArray
impl StructuralPartialEq for SeriesXArrayDataArray
Auto Trait Implementations§
impl !RefUnwindSafe for SeriesXArrayDataArray
impl !UnwindSafe for SeriesXArrayDataArray
impl Freeze for SeriesXArrayDataArray
impl Send for SeriesXArrayDataArray
impl Sync for SeriesXArrayDataArray
impl Unpin for SeriesXArrayDataArray
impl UnsafeUnpin for SeriesXArrayDataArray
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> 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