Detail: IndexMicrosecondGO: Operator Unary
Overview: IndexMicrosecondGO: Operator Unary
- IndexMicrosecondGO.__abs__()
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <IndexMicrosecondGO> 1517-04-01T00:00:00.000000 1517-12-31T00:00:00.000000 1517-06-30T00:00:00.000000 <datetime64[us]> >>> abs(ix) UFuncTypeError(<ufunc 'absolute'>, (<class 'numpy.dtypes.DateTime64DType'>, None))
- IndexMicrosecondGO.__invert__()
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <IndexMicrosecondGO> 1517-04-01T00:00:00.000000 1517-12-31T00:00:00.000000 1517-06-30T00:00:00.000000 <datetime64[us]> >>> ~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''")
- IndexMicrosecondGO.__neg__()
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <IndexMicrosecondGO> 1517-04-01T00:00:00.000000 1517-12-31T00:00:00.000000 1517-06-30T00:00:00.000000 <datetime64[us]> >>> -ix UFuncTypeError(<ufunc 'negative'>, (<class 'numpy.dtypes.DateTime64DType'>, None))
- IndexMicrosecondGO.__pos__()
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <IndexMicrosecondGO> 1517-04-01T00:00:00.000000 1517-12-31T00:00:00.000000 1517-06-30T00:00:00.000000 <datetime64[us]> >>> +ix UFuncTypeError(<ufunc 'positive'>, (<class 'numpy.dtypes.DateTime64DType'>, None))
IndexMicrosecondGO: 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