arkouda icon indicating copy to clipboard operation
arkouda copied to clipboard

`array_api` gives unexpected result for `Array._new(x)` when `x` is an `Array`.

Open ajpotts opened this issue 5 months ago • 1 comments

Describe the bug Array creation in array_api gives unexpected result for Array._new(x) when x is an Array.

To Reproduce

In [13]: x
Out[13]: Arkouda Array ((10,), int64)[0 1 2 3 4 5 6 7 8 9]

In [14]: y = xp.Array._new(x)

In [15]: type(y)
Out[15]: arkouda.array_api.array_object.Array

In [16]: type(y._array)
Out[16]: arkouda.array_api.array_object.Array

ajpotts avatar Sep 09 '24 18:09 ajpotts