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?
I use:
- Emacs 27.2
- Spacemacs v.0.300.0
emacs-jupyter
orwkhtmltoimage
) to try things out and maybe come up with suggestions or a solution. I don't know about others' estimates, but mine was that it would take too long to set things up and try it out, so I am not going to try. The thing is you limit the pool of potential answerers if you don't provide enough detail: and if the pool is empty, you are out of luck.