pub enum IntervalSubtype {
Float64,
Int64,
}Expand description
The type of an interval’s endpoints, pandas’ interval[int64] or
interval[float64] subtype: integer endpoints print without ‘.0’
(pd.cut(s, [0, 3, 6]) is (0, 3], where float edges are (0.0, 3.0]).
The endpoints themselves are f64 either way (fvsao.54).
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for IntervalSubtype
impl Clone for IntervalSubtype
impl Copy for IntervalSubtype
Source§impl Debug for IntervalSubtype
impl Debug for IntervalSubtype
Source§impl Default for IntervalSubtype
impl Default for IntervalSubtype
Source§impl<'de> Deserialize<'de> for IntervalSubtype
impl<'de> Deserialize<'de> for IntervalSubtype
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
impl Eq for IntervalSubtype
Source§impl PartialEq for IntervalSubtype
impl PartialEq for IntervalSubtype
Source§impl Serialize for IntervalSubtype
impl Serialize for IntervalSubtype
impl StructuralPartialEq for IntervalSubtype
Auto Trait Implementations§
impl Forget for IntervalSubtype
impl Freeze for IntervalSubtype
impl Move for IntervalSubtype
impl RefUnwindSafe for IntervalSubtype
impl Send for IntervalSubtype
impl Sync for IntervalSubtype
impl Unpin for IntervalSubtype
impl UnsafeUnpin for IntervalSubtype
impl UnwindSafe for IntervalSubtype
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