Detail: IndexYearMonthGO: Operator Binary
Overview: IndexYearMonthGO: Operator Binary
- IndexYearMonthGO.__add__(other)
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonthGO> 1517-04 1517-12 1517-06 <datetime64[M]> >>> ix + 2 ['1517-06' '1518-02' '1517-08']
- IndexYearMonthGO.__and__(other)
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonthGO> 1517-04 1517-12 1517-06 <datetime64[M]> >>> ix & True TypeError("ufunc 'bitwise_and' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''") >>> ix & (False, True) TypeError("ufunc 'bitwise_and' 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.__eq__(other)
Return self==value.
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonthGO> 1517-04 1517-12 1517-06 <datetime64[M]> >>> ix == '1517-06' [False False True]
- IndexYearMonthGO.__floordiv__(other)
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonthGO> 1517-04 1517-12 1517-06 <datetime64[M]> >>> ix // '1517-06' UFuncTypeError(<ufunc 'floor_divide'>, (dtype('<M8[M]'), dtype('<M8[M]')))
- IndexYearMonthGO.__ge__(other)
Return self>=value.
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonthGO> 1517-04 1517-12 1517-06 <datetime64[M]> >>> ix >= '1517-06' [False True True]
- IndexYearMonthGO.__gt__(other)
Return self>value.
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonthGO> 1517-04 1517-12 1517-06 <datetime64[M]> >>> ix > '1517-06' [False True False]
- IndexYearMonthGO.__le__(other)
Return self<=value.
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonthGO> 1517-04 1517-12 1517-06 <datetime64[M]> >>> ix <= '1517-06' [ True False True]
- IndexYearMonthGO.__lt__(other)
Return self<value.
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonthGO> 1517-04 1517-12 1517-06 <datetime64[M]> >>> ix < '1517-06' [ True False False]
- IndexYearMonthGO.__matmul__(other)
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonthGO> 1517-04 1517-12 1517-06 <datetime64[M]> >>> ix @ (3, 0, 4, 0) NotImplementedError('matrix multiplication not supported')
- IndexYearMonthGO.__mod__(other)
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonthGO> 1517-04 1517-12 1517-06 <datetime64[M]> >>> ix % '1517-06' UFuncTypeError(<ufunc 'remainder'>, (dtype('<M8[M]'), dtype('<M8[M]')))
- IndexYearMonthGO.__mul__(other)
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonthGO> 1517-04 1517-12 1517-06 <datetime64[M]> >>> ix * '1517-06' UFuncTypeError(<ufunc 'multiply'>, (dtype('<M8[M]'), dtype('<M8[M]')))
- IndexYearMonthGO.__ne__(other)
Return self!=value.
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonthGO> 1517-04 1517-12 1517-06 <datetime64[M]> >>> ix != '1517-06' [ True True False]
- IndexYearMonthGO.__or__(other)
Return self|value.
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonthGO> 1517-04 1517-12 1517-06 <datetime64[M]> >>> ix | True TypeError("ufunc 'bitwise_or' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''") >>> ix | (False, True) TypeError("ufunc 'bitwise_or' 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.__pow__(other)
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonthGO> 1517-04 1517-12 1517-06 <datetime64[M]> >>> ix ** '1517-06' TypeError("ufunc 'power' 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.__radd__(other)
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonthGO> 1517-04 1517-12 1517-06 <datetime64[M]> >>> '1517-06' + ix UFuncTypeError(<ufunc 'add'>, (dtype('<M8[M]'), dtype('<M8[M]')))
- IndexYearMonthGO.__rfloordiv__(other)
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonthGO> 1517-04 1517-12 1517-06 <datetime64[M]> >>> '1517-06' // ix UFuncTypeError(<ufunc 'floor_divide'>, (dtype('<M8[M]'), dtype('<M8[M]')))
- IndexYearMonthGO.__rmatmul__(other)
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonthGO> 1517-04 1517-12 1517-06 <datetime64[M]> >>> ix @ (3, 0, 4, 0) NotImplementedError('matrix multiplication not supported')
- IndexYearMonthGO.__rmul__(other)
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonthGO> 1517-04 1517-12 1517-06 <datetime64[M]> >>> '1517-06' * ix UFuncTypeError(<ufunc 'multiply'>, (dtype('<M8[M]'), dtype('<M8[M]')))
- IndexYearMonthGO.__rshift__(other)
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonthGO> 1517-04 1517-12 1517-06 <datetime64[M]> >>> ix >> 1 TypeError("ufunc 'right_shift' 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.__rsub__(other)
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonthGO> 1517-04 1517-12 1517-06 <datetime64[M]> >>> '1517-06' - ix [ 2 -6 0]
- IndexYearMonthGO.__rtruediv__(other)
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonthGO> 1517-04 1517-12 1517-06 <datetime64[M]> >>> '1517-06' / ix UFuncTypeError(<ufunc 'divide'>, (dtype('<M8[M]'), dtype('<M8[M]')))
- IndexYearMonthGO.__sub__(other)
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonthGO> 1517-04 1517-12 1517-06 <datetime64[M]> >>> ix - 2 ['1517-02' '1517-10' '1517-04']
- IndexYearMonthGO.__truediv__(other)
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonthGO> 1517-04 1517-12 1517-06 <datetime64[M]> >>> ix / '1517-06' UFuncTypeError(<ufunc 'divide'>, (dtype('<M8[M]'), dtype('<M8[M]')))
- IndexYearMonthGO.__xor__(other)
>>> ix = sf.IndexYearMonthGO(('1517-04', '1517-12', '1517-06')) >>> ix <IndexYearMonthGO> 1517-04 1517-12 1517-06 <datetime64[M]> >>> ix ^ True TypeError("ufunc 'bitwise_xor' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''") >>> ix ^ (False, True) TypeError("ufunc 'bitwise_xor' 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: 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