You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Converting numpy array of bigint zeros to Arkouda yields empty array #4884
Describe the bug
When creating an Arkouda array from a numpy array of bigints which all take the value zero, it should create an array of the same size, not an empty array.
To Reproduce
In [1]: importnumpyasnpIn [2]: a=np.array([2**200] *100)
In [3]: b=a*0In [4]: ak.array(b)
Out[4]: array([])
Expected behavior
In [1]: importnumpyasnpIn [2]: a=np.array([2**200] *100)
In [3]: b=a*0In [4]: ak.array(b)
Out[4]: array([0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000])
Activity
Closes Bears-R-Us#4884: Converting numpy array of bigint zeros to Ark…
Closes Bears-R-Us#4884: Converting numpy array of bigint zeros to Ark…
Closes Bears-R-Us#4884: Converting numpy array of bigint zeros to Ark…
Closes #4884: Converting numpy array of bigint zeros to Arkouda yield…