Have been playing around with the DataFrame librar...
# datascience
p
Have been playing around with the DataFrame library, very nice and flexible and also great progress since last time I looked at it. But I have a few questions about the rendering, so if there are any experts that can enlighten me: • It looks/behaves very different when displaying a table between Datalore and Jupyter. Is this due to Datalore specific capabilities? • It contains some hard-code CSS styles that makes it not play nice with Jupyter Lab themes. Without these any additional CSS rules it seems to render much better. Can DataFrame be configured to not include any custom styles or overwrite them?
a
You need to clarify what do you mean by Jupyter? Lab or Classic. The JS part works differently in them. Also DataLore indeed has some specific visualization capabilities for Pands. Maybe it uses them for DataFrame as well.
As for DataFrame itself. It has nice API, but currently I am not happy with inner structure. Interfacing with it is not nice at all.
p
From capabilities, both Lab & Classic look very different from Datalore. Datalore looks much fancier, also got scrollbars etc. From theming, I meant Lab. So if I put the theme on Dark, it doesn't change due to the custom styles. If I remove all these custom styles (table.dataframe.*) it looks fine.
a
Hi, guys. I appreciate your feedback on DataFrame. Datalore has recently reused its visualization control (that was used for Pandas) for Kotlin DataFrame. It provides lazy loading and charts, but doesn’t support hierarchical DataFrames and cell rendering customization (e.g. ability to display any HTML or media in a cell), that native DataFrame control has. We are currently discussing unification of these two controls. There is no way to override CSS yet, but I’ll add ability to disable it
I agree that inner structure is quite messy now. I’m going to clean it as soon as I finish with docs