Repository navigation
Open
Description
Implement == for uint8 dtype.
In [3]: x1 = ak.zeros(5, dtype="uint8")
In [4]: x2 = ak.zeros(5, dtype="uint8")
In [5]: x1.dtype
Out[5]: dtype('uint8')
In [6]: x2.dtype
Out[6]: dtype('uint8')
In [7]: x1 == x2
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
Cell In[7], line 1
----> 1 x1 == x2
File ~/git/arkouda/arkouda/numpy/pdarrayclass.py:796, in pdarray.__eq__(self, other)
794 return ~(self ^ other)
795 else:
--> 796 return self._binop(other, "==")
File ~/git/arkouda/arkouda/numpy/pdarrayclass.py:580, in pdarray._binop(self, other, op)
578 except ValueError:
579 raise ValueError(f"shape mismatch {self.shape} {other.shape}")
--> 580 repMsg = generic_msg(
581 cmd=f"binopvv<{self.dtype},{other.dtype},{x1.ndim}>",
582 args={"op": op, "a": x1, "b": x2},
583 )
584 if tmp_x1:
585 del x1
File ~/git/arkouda/arkouda/client.py:1012, in generic_msg(cmd, args, payload, send_binary, recv_binary)
1010 else:
1011 assert payload is None
-> 1012 return cast(Channel, channel).send_string_message(
1013 cmd=cmd, args=msg_args, size=size, recv_binary=recv_binary
1014 )
1015 except KeyboardInterrupt as e:
1016 # if the user interrupts during command execution, the socket gets out
1017 # of sync reset the socket before raising the interrupt exception
1018 cast(Channel, channel).connect(timeout=0)
File ~/git/arkouda/arkouda/client.py:534, in ZmqChannel.send_string_message(self, cmd, recv_binary, args, size, request_id)
532 # raise errors or warnings sent back from the server
533 if return_message.msgType == MessageType.ERROR:
--> 534 raise RuntimeError(return_message.msg)
535 elif return_message.msgType == MessageType.WARNING:
536 warnings.warn(return_message.msg)
RuntimeError: Unrecognized command: binopvv<uint8,uint8,1>
Metadata
Metadata
Assignees
Labels
No labels
Activity