emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ob-reticulate: R+Python interface from Babel


From: Jeremie Juste
Subject: Re: ob-reticulate: R+Python interface from Babel
Date: Sat, 27 Feb 2021 18:24:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Hello Jack,

Many thanks for this package. It seems like a better way all together
to manipulate python output.

I admit that my python foo is decreasing more and more but

#+BEGIN_SRC python :results output :session *Python*
  import pandas as pd
  df = pd.DataFrame({"X":[1,2,3], "Y":["a","b","c"]})
  df
#+end_src

#+RESULTS:

#+BEGIN_SRC python :results value  :session *Python*
  import pandas as pd
  df = pd.DataFrame({"X":[1,2,3], "Y":["a","b","c"]})
  df
#+end_src

#+RESULTS:
:    X  Y
: 0  1  a
: 1  2  b
: 2  3  c

compared to your [1] example of reticulate is easier to work with.
https://github.com/jackkamm/ob-reticulate

Best regards,
Jeremie


On Saturday, 27 Feb 2021 at 06:15, Jack Kamm wrote:
> Hi all,
>
> ob-reticulate is now available on MELPA.
>
> You can find more information here:
> https://github.com/jackkamm/ob-reticulate
>
> Cheers,
> Jack
>

-- 
Jeremie Juste



reply via email to

[Prev in Thread] Current Thread [Next in Thread]