View source: R/translate_engine.R
| translate_filter | R Documentation |
Capture a bare R expression and translate it to a Python-compatible string
suitable for use with pandas.DataFrame.query().
translate_filter(expr)
expr |
A bare R expression (e.g., |
A character string of the translated Python query.
translate_filter(carat > 2 & cut == "Ideal")
# -> "(carat > 1) and (cut == 'Ideal')"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.