How do you rename a column in a dataset?

How do you rename a column in a dataset?

Hello :slight_smile:

You can do dataset.rename_column("old_column_name", "new_column_name"). This will return a new dataset with a renamed column.

3 Likes