Detail: IndexYearMonth: Operator Unary

Overview: IndexYearMonth: Operator Unary

IndexYearMonth.__abs__()
>>> ix = sf.IndexYearMonth(('1517-04', '1517-12', '1517-06'))
>>> abs(ix)
UFuncTypeError(<ufunc 'absolute'>, (dtype('<M8[M]'), dtype('<M8[M]')))
IndexYearMonth.__invert__()
>>> ix = sf.IndexYearMonth(('1517-04', '1517-12', '1517-06'))
>>> ~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''")
IndexYearMonth.__neg__()
>>> ix = sf.IndexYearMonth(('1517-04', '1517-12', '1517-06'))
>>> -ix
UFuncTypeError(<ufunc 'negative'>, (dtype('<M8[M]'), dtype('<M8[M]')))
IndexYearMonth.__pos__()
>>> ix = sf.IndexYearMonth(('1517-04', '1517-12', '1517-06'))
>>> +ix
['1517-04' '1517-12' '1517-06']

IndexYearMonth: Constructor | Exporter | Attribute | Method | Dictionary-Like | Display | Selector | Iterator | Operator Binary | Operator Unary | Accessor Values | Accessor Datetime | Accessor String | Accessor Regular Expression | Accessor Hashlib