arkouda icon indicating copy to clipboard operation
arkouda copied to clipboard

failure printing series containing a segarray

Open stress-tess opened this issue 9 months ago • 0 comments

I discovered this when working with dataframes containing segarrays since the recent change in df indexing (see https://github.com/Bears-R-Us/arkouda/pull/3109) has changed what is returned

>>> test_df = ak.DataFrame({'test': ak.SegArray(ak.arange(10), ak.arange(10))})
>>> sa = test_df['test']
>>> sa
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
...
ValueError: 2

>>> sa.values
SegArray([
[0]
[1]
[2]
...
[7]
[8]
[9]
])

stress-tess avatar May 22 '24 00:05 stress-tess