Detail: IndexMillisecondGO: Operator Binary¶
Overview: IndexMillisecondGO: Operator Binary
- IndexMillisecondGO.__add__(other)¶
>>> ix = sf.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix + 2 ['1517-04-01T00:00:00.002' '1517-12-31T00:00:00.002' '1517-06-30T00:00:00.002']
- IndexMillisecondGO.__and__(other)¶
>>> ix = sf.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> 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''")
- IndexMillisecondGO.__eq__(other)¶
Return self==value.
>>> ix = sf.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix == '1517-06-30' [False False True]
- IndexMillisecondGO.__floordiv__(other)¶
>>> ix = sf.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix // '1517-06-30' UFuncTypeError(<ufunc 'floor_divide'>, (dtype('<M8[D]'), dtype('<M8[D]')))
- IndexMillisecondGO.__ge__(other)¶
Return self>=value.
>>> ix = sf.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix >= '1517-06-30' [False True True]
- IndexMillisecondGO.__gt__(other)¶
Return self>value.
>>> ix = sf.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix > '1517-06-30' [False True False]
- IndexMillisecondGO.__le__(other)¶
Return self<=value.
>>> ix = sf.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <= '1517-06-30' [ True False True]
- IndexMillisecondGO.__lt__(other)¶
Return self<value.
>>> ix = sf.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix < '1517-06-30' [ True False False]
- IndexMillisecondGO.__matmul__(other)¶
>>> ix = sf.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix @ (3, 0, 4, 0) NotImplementedError('matrix multiplication not supported')
- IndexMillisecondGO.__mod__(other)¶
>>> ix = sf.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix % '1517-06-30' UFuncTypeError(<ufunc 'remainder'>, (dtype('<M8[D]'), dtype('<M8[D]')))
- IndexMillisecondGO.__mul__(other)¶
>>> ix = sf.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix * '1517-06-30' UFuncTypeError(<ufunc 'multiply'>, (dtype('<M8[D]'), dtype('<M8[D]')))
- IndexMillisecondGO.__ne__(other)¶
Return self!=value.
>>> ix = sf.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix != '1517-06-30' [ True True False]
- IndexMillisecondGO.__or__(other)¶
>>> ix = sf.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> 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''")
- IndexMillisecondGO.__pow__(other)¶
>>> ix = sf.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix ** '1517-06-30' 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''")
- IndexMillisecondGO.__radd__(other)¶
>>> ix = sf.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> '1517-06-30' + ix UFuncTypeError(<ufunc 'add'>, (dtype('<M8[D]'), dtype('<M8[D]')))
- IndexMillisecondGO.__rfloordiv__(other)¶
>>> ix = sf.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> '1517-06-30' // ix UFuncTypeError(<ufunc 'floor_divide'>, (dtype('<M8[D]'), dtype('<M8[D]')))
- IndexMillisecondGO.__rmatmul__(other)¶
>>> ix = sf.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix @ (3, 0, 4, 0) NotImplementedError('matrix multiplication not supported')
- IndexMillisecondGO.__rmul__(other)¶
>>> ix = sf.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> '1517-06-30' * ix UFuncTypeError(<ufunc 'multiply'>, (dtype('<M8[D]'), dtype('<M8[D]')))
- IndexMillisecondGO.__rshift__(other)¶
>>> ix = sf.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> 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''")
- IndexMillisecondGO.__rsub__(other)¶
>>> ix = sf.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> '1517-06-30' - ix [ 90 -184 0]
- IndexMillisecondGO.__rtruediv__(other)¶
>>> ix = sf.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> '1517-06-30' / ix UFuncTypeError(<ufunc 'true_divide'>, (dtype('<M8[D]'), dtype('<M8[D]')))
- IndexMillisecondGO.__sub__(other)¶
>>> ix = sf.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix - 2 ['1517-03-31T23:59:59.998' '1517-12-30T23:59:59.998' '1517-06-29T23:59:59.998']
- IndexMillisecondGO.__truediv__(other)¶
>>> ix = sf.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix / '1517-06-30' UFuncTypeError(<ufunc 'true_divide'>, (dtype('<M8[D]'), dtype('<M8[D]')))
- IndexMillisecondGO.__xor__(other)¶
>>> ix = sf.IndexMillisecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> 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''")
IndexMillisecondGO: Constructor | Exporter | Attribute | Method | Dictionary-Like | Display | Selector | Iterator | Operator Binary | Operator Unary | Accessor Values | Accessor Datetime | Accessor String | Accessor Regular Expression | Accessor Hashlib