Detail: IndexMillisecond: Operator Unary¶
Overview: IndexMillisecond: Operator Unary
- IndexMillisecond.__abs__()¶
>>> ix = sf.IndexMillisecond(('1517-04-01', '1517-12-31', '1517-06-30')) >>> abs(ix) UFuncTypeError(<ufunc 'absolute'>, (dtype('<M8[ms]'), dtype('<M8[ms]')))
- IndexMillisecond.__invert__()¶
>>> ix = sf.IndexMillisecond(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ~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''")
- IndexMillisecond.__neg__()¶
>>> ix = sf.IndexMillisecond(('1517-04-01', '1517-12-31', '1517-06-30')) >>> -ix UFuncTypeError(<ufunc 'negative'>, (dtype('<M8[ms]'), dtype('<M8[ms]')))
- IndexMillisecond.__pos__()¶
>>> ix = sf.IndexMillisecond(('1517-04-01', '1517-12-31', '1517-06-30')) >>> +ix ['1517-04-01T00:00:00.000' '1517-12-31T00:00:00.000' '1517-06-30T00:00:00.000']
IndexMillisecond: Constructor | Exporter | Attribute | Method | Dictionary-Like | Display | Selector | Iterator | Operator Binary | Operator Unary | Accessor Values | Accessor Datetime | Accessor String | Accessor Regular Expression | Accessor Hashlib