How do I create unrollable columns in the Python IDE?
Ungrouping (sometimes called unrolling) a column of arrays expands each element into its own row. Deephaven's engine is built in Java, so the ungroup method works only on Java array and Deephaven Vector columns, not on Python lists. For example, the following query fails:
Convert the list to a Java array with dtypes.array before you add it to a table:
Calling ungroup with no arguments ungroups every array or Vector column in the table. Calling ungroup("Offsets") ungroups only the named column. In this example, because Offsets is the only array column, the results are the same. Each of the 10 rows becomes 4 rows, one per offset.
Note
These FAQ pages contain answers to questions about Deephaven Community Core that our users have asked in our Community Slack. If you have a question that is not in our documentation, join our Community and we'll be happy to help!