dataframe
dataframe copied to clipboard
GroupBy can't be properly formatted
using Jupyter Lab 4.0.2 and latest versions of kotlin jupyter and kotlin/dataframe (don't know how to get kotlin jupyter and kotlin/dataframe version, but I just installed them today
after running dataFrame.groupBy{...}, the returned value is org.jetbrains.kotlinx.dataframe.impl.GroupByImpl
the mem, ssd, vad columns are LongArrays, it is correctly formatted like this
but long
model strings are shortened
I'd like to change that, but not globally, just for this dataframe. so I write the following code, but it has 3 problems
-
LongArraycolumns are not properly rendered(there is notoHTMLinGroupByImpl, and usinginto(...)results in the same problem -
cellContentLimit=-1is not working according to doc https://kotlin.github.io/dataframe/tohtml.html#configuring-display-for-individual-output -
cell text is wrapped, while the dataframe is also horizontally scrollable. how can we disable cell text wrapping?