Detail: IndexDateGO: Operator Unary
Overview: IndexDateGO: Operator Unary
- IndexDateGO.__abs__()
>>> ix = sf.IndexDateGO(('1517-04-01', '1517-12', '1517-06-30')) >>> ix <IndexDateGO> 1517-04-01 1517-12-01 1517-06-30 <datetime64[D]> >>> abs(ix) UFuncTypeError(<ufunc 'absolute'>, (<class 'numpy.dtypes.DateTime64DType'>, None))
- IndexDateGO.__invert__()
>>> ix = sf.IndexDateGO(('1517-04-01', '1517-12', '1517-06-30')) >>> ix <IndexDateGO> 1517-04-01 1517-12-01 1517-06-30 <datetime64[D]> >>> ~ix TypeError("ufunc 'invert' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''")
- IndexDateGO.__neg__()
>>> ix = sf.IndexDateGO(('1517-04-01', '1517-12', '1517-06-30')) >>> ix <IndexDateGO> 1517-04-01 1517-12-01 1517-06-30 <datetime64[D]> >>> -ix UFuncTypeError(<ufunc 'negative'>, (<class 'numpy.dtypes.DateTime64DType'>, None))
- IndexDateGO.__pos__()
>>> ix = sf.IndexDateGO(('1517-04-01', '1517-12', '1517-06-30')) >>> ix <IndexDateGO> 1517-04-01 1517-12-01 1517-06-30 <datetime64[D]> >>> +ix UFuncTypeError(<ufunc 'positive'>, (<class 'numpy.dtypes.DateTime64DType'>, None))
IndexDateGO: Constructor | Exporter | Attribute | Method | Dictionary-Like | Display | Selector | Iterator | Operator Binary | Operator Unary | Accessor Values | Accessor Datetime | Accessor String | Accessor Regular Expression | Accessor Hashlib | Accessor Type Clinic