Removes a repeating prefix from the column names of a data frame
1 | remove_column_prefix(df, remove_prefix)
|
df |
A data frame with column names that need cleaning. |
reverse |
A common column name prefix which should be removed. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.