Detail: IndexMicrosecondGO: Operator Binary
Overview: IndexMicrosecondGO: Operator Binary
- IndexMicrosecondGO.__add__(other)
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <IndexMicrosecondGO> 1517-04-01T00:00:00.000000 1517-12-31T00:00:00.000000 1517-06-30T00:00:00.000000 <datetime64[us]> >>> ix + 2 ['1517-04-01T00:00:00.000002' '1517-12-31T00:00:00.000002' '1517-06-30T00:00:00.000002']
- IndexMicrosecondGO.__and__(other)
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <IndexMicrosecondGO> 1517-04-01T00:00:00.000000 1517-12-31T00:00:00.000000 1517-06-30T00:00:00.000000 <datetime64[us]> >>> 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''")
- IndexMicrosecondGO.__eq__(other)
Return self==value.
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <IndexMicrosecondGO> 1517-04-01T00:00:00.000000 1517-12-31T00:00:00.000000 1517-06-30T00:00:00.000000 <datetime64[us]> >>> ix == '1517-06-30' [False False True]
- IndexMicrosecondGO.__floordiv__(other)
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <IndexMicrosecondGO> 1517-04-01T00:00:00.000000 1517-12-31T00:00:00.000000 1517-06-30T00:00:00.000000 <datetime64[us]> >>> ix // '1517-06-30' UFuncTypeError(<ufunc 'floor_divide'>, (dtype('<M8[D]'), dtype('<M8[D]')))
- IndexMicrosecondGO.__ge__(other)
Return self>=value.
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <IndexMicrosecondGO> 1517-04-01T00:00:00.000000 1517-12-31T00:00:00.000000 1517-06-30T00:00:00.000000 <datetime64[us]> >>> ix >= '1517-06-30' [False True True]
- IndexMicrosecondGO.__gt__(other)
Return self>value.
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <IndexMicrosecondGO> 1517-04-01T00:00:00.000000 1517-12-31T00:00:00.000000 1517-06-30T00:00:00.000000 <datetime64[us]> >>> ix > '1517-06-30' [False True False]
- IndexMicrosecondGO.__le__(other)
Return self<=value.
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <IndexMicrosecondGO> 1517-04-01T00:00:00.000000 1517-12-31T00:00:00.000000 1517-06-30T00:00:00.000000 <datetime64[us]> >>> ix <= '1517-06-30' [ True False True]
- IndexMicrosecondGO.__lt__(other)
Return self<value.
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <IndexMicrosecondGO> 1517-04-01T00:00:00.000000 1517-12-31T00:00:00.000000 1517-06-30T00:00:00.000000 <datetime64[us]> >>> ix < '1517-06-30' [ True False False]
- IndexMicrosecondGO.__matmul__(other)
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <IndexMicrosecondGO> 1517-04-01T00:00:00.000000 1517-12-31T00:00:00.000000 1517-06-30T00:00:00.000000 <datetime64[us]> >>> ix @ (3, 0, 4, 0) NotImplementedError('matrix multiplication not supported')
- IndexMicrosecondGO.__mod__(other)
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <IndexMicrosecondGO> 1517-04-01T00:00:00.000000 1517-12-31T00:00:00.000000 1517-06-30T00:00:00.000000 <datetime64[us]> >>> ix % '1517-06-30' UFuncTypeError(<ufunc 'remainder'>, (dtype('<M8[D]'), dtype('<M8[D]')))
- IndexMicrosecondGO.__mul__(other)
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <IndexMicrosecondGO> 1517-04-01T00:00:00.000000 1517-12-31T00:00:00.000000 1517-06-30T00:00:00.000000 <datetime64[us]> >>> ix * '1517-06-30' UFuncTypeError(<ufunc 'multiply'>, (dtype('<M8[D]'), dtype('<M8[D]')))
- IndexMicrosecondGO.__ne__(other)
Return self!=value.
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <IndexMicrosecondGO> 1517-04-01T00:00:00.000000 1517-12-31T00:00:00.000000 1517-06-30T00:00:00.000000 <datetime64[us]> >>> ix != '1517-06-30' [ True True False]
- IndexMicrosecondGO.__or__(other)
Return self|value.
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <IndexMicrosecondGO> 1517-04-01T00:00:00.000000 1517-12-31T00:00:00.000000 1517-06-30T00:00:00.000000 <datetime64[us]> >>> 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''")
- IndexMicrosecondGO.__pow__(other)
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <IndexMicrosecondGO> 1517-04-01T00:00:00.000000 1517-12-31T00:00:00.000000 1517-06-30T00:00:00.000000 <datetime64[us]> >>> 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''")
- IndexMicrosecondGO.__radd__(other)
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <IndexMicrosecondGO> 1517-04-01T00:00:00.000000 1517-12-31T00:00:00.000000 1517-06-30T00:00:00.000000 <datetime64[us]> >>> '1517-06-30' + ix UFuncTypeError(<ufunc 'add'>, (dtype('<M8[D]'), dtype('<M8[D]')))
- IndexMicrosecondGO.__rfloordiv__(other)
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <IndexMicrosecondGO> 1517-04-01T00:00:00.000000 1517-12-31T00:00:00.000000 1517-06-30T00:00:00.000000 <datetime64[us]> >>> '1517-06-30' // ix UFuncTypeError(<ufunc 'floor_divide'>, (dtype('<M8[D]'), dtype('<M8[D]')))
- IndexMicrosecondGO.__rmatmul__(other)
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <IndexMicrosecondGO> 1517-04-01T00:00:00.000000 1517-12-31T00:00:00.000000 1517-06-30T00:00:00.000000 <datetime64[us]> >>> ix @ (3, 0, 4, 0) NotImplementedError('matrix multiplication not supported')
- IndexMicrosecondGO.__rmul__(other)
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <IndexMicrosecondGO> 1517-04-01T00:00:00.000000 1517-12-31T00:00:00.000000 1517-06-30T00:00:00.000000 <datetime64[us]> >>> '1517-06-30' * ix UFuncTypeError(<ufunc 'multiply'>, (dtype('<M8[D]'), dtype('<M8[D]')))
- IndexMicrosecondGO.__rshift__(other)
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <IndexMicrosecondGO> 1517-04-01T00:00:00.000000 1517-12-31T00:00:00.000000 1517-06-30T00:00:00.000000 <datetime64[us]> >>> 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''")
- IndexMicrosecondGO.__rsub__(other)
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <IndexMicrosecondGO> 1517-04-01T00:00:00.000000 1517-12-31T00:00:00.000000 1517-06-30T00:00:00.000000 <datetime64[us]> >>> '1517-06-30' - ix [ 90 -184 0]
- IndexMicrosecondGO.__rtruediv__(other)
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <IndexMicrosecondGO> 1517-04-01T00:00:00.000000 1517-12-31T00:00:00.000000 1517-06-30T00:00:00.000000 <datetime64[us]> >>> '1517-06-30' / ix UFuncTypeError(<ufunc 'divide'>, (dtype('<M8[D]'), dtype('<M8[D]')))
- IndexMicrosecondGO.__sub__(other)
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <IndexMicrosecondGO> 1517-04-01T00:00:00.000000 1517-12-31T00:00:00.000000 1517-06-30T00:00:00.000000 <datetime64[us]> >>> ix - 2 ['1517-03-31T23:59:59.999998' '1517-12-30T23:59:59.999998' '1517-06-29T23:59:59.999998']
- IndexMicrosecondGO.__truediv__(other)
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <IndexMicrosecondGO> 1517-04-01T00:00:00.000000 1517-12-31T00:00:00.000000 1517-06-30T00:00:00.000000 <datetime64[us]> >>> ix / '1517-06-30' UFuncTypeError(<ufunc 'divide'>, (dtype('<M8[D]'), dtype('<M8[D]')))
- IndexMicrosecondGO.__xor__(other)
>>> ix = sf.IndexMicrosecondGO(('1517-04-01', '1517-12-31', '1517-06-30')) >>> ix <IndexMicrosecondGO> 1517-04-01T00:00:00.000000 1517-12-31T00:00:00.000000 1517-06-30T00:00:00.000000 <datetime64[us]> >>> 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''")
IndexMicrosecondGO: 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