I expect this to work, but it gives an error that ‘offsets’ is not an Array column:
My response:
The offsets need to be converted to a java array for the ungroup to work. As of right now, the python list is not recognized as an ungroupable type, since it is seen as a generic python object.
from deephaven import empty_table
from deephaven import dtypes
offsets = [1,2,3,4]
offsets = dtypes.array(dtypes.int64, offsets)
t1 = empty_table(10).update("X = i")
t2 = t1.update("Offsets=offsets")
t3 = t2.ungroup()
t4 = t2.ungroup("Offsets")
For the Community Questions page
A client sent this to us:
I expect this to work, but it gives an error that ‘offsets’ is not an Array column:
My response: