Open ileasile opened 2 years ago
This probably requires us to check how to do (or add) hierarchical data frame support in the DataSpell swing dataframes
@ermolenkodev Could you update your progress here? :) And could we have a demo for version 0.10.0 or shall we postpone it to 0.11.0?
Now we have a default (HTML/JS) rendering of DataFrame tables in Kotlin notebook plugin. It is slow. Guys in DataSpell solved it in the following way: they parse the output of pandas tables, extract the data, execute some commands sometimes, and show reparsed data in a Swing panel. It works better.
To do it with dataframe, we need some work to be done:
DataFrame.simpleHtml()
method for obtaining simple html table. Now,html()
returns some JS that renders HTML. It's better to have such methos for all dataframe-like objectsDataFrame.simpleHtml(start, end)
method for obtaining a sub-range of the rows of a DataFrame-like objectkotlin-dataframe
class to the HTML output to distinguish Kotlin tables from Pandas ones.