[TOREE-492] Add DataFrame displayer
@lresende could you please take a look ?
- What's the main difference between this and %dataframe
- Do we have to do any special handle for dataset ?
- Could you please add a little user documentation on how to use it (other displayers might be helpful as well).
- Could you please add a simple test case
@lresende
-
I was not aware of the
%dataframemagic. This PR adds a syntactic sugar overdf.head(20)where bothdfanddf.headneed%truncation offto be displayed inhtmlformat. In practice, I do a lot ofdf.show()s to get sample results which are not pretty printed. Now I know it can be achieved through%dataframebut I wonder it would better to display sampleddfinhtmlformat by default (without any magic). -
Do you know where to add the corresponding test case and doc for
ScalaDisplayer? All I've found are some notebook tutorials.
@manuzhang It would be great if the displayer works by default (the same way as a pandas data frame). Is that working for you ?
@mohammedi-haroune yes, that works for me
@manuzhang Thanks for you reactivity. I will check it out.