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§fn clone(&self) -> SeriesXArrayDataArray
fn clone(&self) -> SeriesXArrayDataArray
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 SeriesXArrayDataArray
impl Debug for SeriesXArrayDataArray
Source§impl PartialEq for SeriesXArrayDataArray
impl PartialEq for SeriesXArrayDataArray
Source§fn eq(&self, other: &SeriesXArrayDataArray) -> bool
fn eq(&self, other: &SeriesXArrayDataArray) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SeriesXArrayDataArray
Auto Trait Implementations§
impl Freeze for SeriesXArrayDataArray
impl RefUnwindSafe for SeriesXArrayDataArray
impl Send for SeriesXArrayDataArray
impl Sync for SeriesXArrayDataArray
impl Unpin for SeriesXArrayDataArray
impl UnsafeUnpin for SeriesXArrayDataArray
impl UnwindSafe 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