I'm trying to setup org-mode as a substitute for jupyter notebook using emacs-jupyter.
My problem right now is how to display pandas dataframes. When the dataframe contains cells with a lot of text for example, displaying it as an org table is quite messy. and displaying it with
:display plain is ok but not very compact.
What I'd like is to have org-mode display dataframes as an inline image, similar to what happens in a jupyter notebook.
I'm trying to do this using
wkhtmltoimage with the
:post header argument, but so far was not able to get source block to output a raw html text without the export html wrap (
#+begin_export html...#+end_export). I tried with
:results value raw but that didn't work.
Any suggestions? Or any other way to accomplish what I want?
- Emacs 27.2
- Spacemacs v.0.300.0