Description Usage Arguments Value
Quickly rename a column based on it's current name rather than location. This is helpful in certain instances when a name of a column cannot be determined in advance.
1 | rename_column(df, old_name, new_name)
|
df |
the dataframe containing columns to be renamed |
old_name |
a string containing the name of the column to be renamed |
new_name |
a string containing the new name. |
the same dataset with a renamed column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.