Detail: IndexYearMonthGO: Operator Unary
Overview: IndexYearMonthGO: Operator Unary
- IndexYearMonthGO.__abs__()
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonthGO> 1517-04 1517-12 1517-06 <datetime64[M]> >>> abs(ix) UFuncTypeError(<ufunc 'absolute'>, (<class 'numpy.dtypes.DateTime64DType'>, None))
- IndexYearMonthGO.__invert__()
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonthGO> 1517-04 1517-12 1517-06 <datetime64[M]> >>> ~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 <IndexYearMonthGO> 1517-04 1517-12 1517-06 <datetime64[M]> >>> -ix UFuncTypeError(<ufunc 'negative'>, (<class 'numpy.dtypes.DateTime64DType'>, None))
- IndexYearMonthGO.__pos__()
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonthGO> 1517-04 1517-12 1517-06 <datetime64[M]> >>> +ix UFuncTypeError(<ufunc 'positive'>, (<class 'numpy.dtypes.DateTime64DType'>, None))
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 | Accessor Type Clinic