Description Usage Arguments Value Examples
Get Python function.
1 | python.get_function(fn_name)
|
fn_name |
Function name string. |
Wrapper around Python function.
1 2 3 4 5 | python.exec("def test_fn(a = 3, b = 4):\n return a * b")
test_fn <- python.get_function('test_fn')
test_fn(10, 20)
test_fn(a = 10)
test_fn(b = 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.