Use python in Jupyter R core

I am using IRKernel in Jupyter notebook, but I want to run some Python cells. I've seen examples for running R code when using Python core in Jupyter, i.e.

%load_ext rpy2.ipython
%R require(ggplot2)

      

Is there a way to do the opposite? Something like

%load_ext py.ipython
%Python import pandas as pd

      

+3


source to share





All Articles