| rp_mutate | R Documentation |
Mutate (add/modify/remove) columns using pandas
rp_mutate(
.data,
to_remove = NULL,
...,
table_name = NULL,
return.as = "result"
)
.data |
An R data frame. |
to_remove |
A character vector of column names to remove. |
... |
Named expressions for new/modified columns. |
table_name |
An optional character string. If provided, the generated Python code will replace the internal dataframe name with this string (e.g., |
return.as |
Either "result", "code", or "all". |
A data frame or list depending on return.as.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.