def test_init_python_pre(self): kp = R.kernel_factory('python') result = R.run_code( 'import pandas; assert pandas.options.display.latex.repr is False', kp) assert len(result) == 1
def python_kp(): return R.kernel_factory('python')
def global_python_kernel(): """ A python kernel anyone can use. """ return R.kernel_factory('python')