pub enum PandasDecimal {
Value(f64),
Rejected,
NotDecimal,
}Expand description
What pandas’ default text-to-float64 conversion - read_csv /
read_table with float_precision=None or 'high', and to_numeric of
strings - makes of a token (br-frankenpandas-py3c0).
Variants§
Value(f64)
A decimal number, converted as pandas converts it.
Rejected
A token that starts as a number but that pandas does not read as a float: trailing text, an exponent without digits or with more than 17, a value past float64’s range.
NotDecimal
No digits before an exponent: not a decimal (the inf / nan
spellings, ., -); the caller’s own rules apply.
Trait Implementations§
Source§impl Clone for PandasDecimal
impl Clone for PandasDecimal
impl Copy for PandasDecimal
Source§impl Debug for PandasDecimal
impl Debug for PandasDecimal
Source§impl PartialEq for PandasDecimal
impl PartialEq for PandasDecimal
impl StructuralPartialEq for PandasDecimal
Auto Trait Implementations§
impl Freeze for PandasDecimal
impl RefUnwindSafe for PandasDecimal
impl Send for PandasDecimal
impl Sync for PandasDecimal
impl Unpin for PandasDecimal
impl UnsafeUnpin for PandasDecimal
impl UnwindSafe for PandasDecimal
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