dataframe
dataframe copied to clipboard
Support Swing rendering of DataFrame in Kotlin Notebook plugin
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:
- [ ] Complete #80
- [ ] Provide
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 objects - [ ] Provide
DataFrame.simpleHtml(start, end)method for obtaining a sub-range of the rows of a DataFrame-like object - [ ] Add extra
kotlin-dataframeclass to the HTML output to distinguish Kotlin tables from Pandas ones. - [ ] It should be possible to create serializable representation for DataFrame-like objects.
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?