Detail: IndexYearMonthGO: Operator Unary

Overview: IndexYearMonthGO: Operator Unary

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

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