Skip to main content
Version: 0.21.2

Rename

Rename lets you change the name of a dataset, chart, model, column, or change the names of all the columns in a dataset to their synonyms.

Format

Rename has several utterance variations. All variations are available at level 1:

  • Rename all columns in the dataset <dataset> to their synonym
  • Rename the column <column> to <new name>. Note that you can rename multiple columns in the same utterance by adding more <column> and <new name> parameters as a comma-separated list.
  • Rename the current dataset to <new name>
  • Rename the dataset <dataset> to <new name>
  • Rename the model <model> to <new name>
  • Rename the saved model <model> to <new name>

Parameters

Rename uses the following parameters:

  • dataset (required). The dataset whose columns you want to rename using their synonyms. Note that synonyms need to be configured using Annotate. Dataset names can contain up to and including 50 characters.
  • column (required). The column you want to rename.
  • new name (required). The new name you want to use. Note that this string cannot contain spaces.
  • model (required). The model you want to rename.

Output

If the dataset, chart, or model is successfully renamed, a success message appears in the chat box. You can then refer to the dataset, chart, or model by its new name when you use other skills.

If the column is successfully renamed, a sample of the dataset is shown in the display panel and a success message is shown in the chat box. You can then refer to a column by its new name when you use other skills.

Otherwise, an error message is shown in the chat box.

Examples

To rename a column called "PClass" to the more readable “PassengerClass,” enter Rename the column PClass to PassengerClass.

To rename both the "PClass" column and the "Name" column in a single utterance, enter Rename the column Pclass to PassengerClass, Name to FullName.

To rename your current bar chart of sales data to "SalesChart," enter Rename the current chart to SalesChart.

To rename your current dataset to "MarketingData," enter Rename the current dataset to MarketingData.

To rename the model "BestFit1" you created with Analyze to "SalesModel," enter Rename the model BestFit1 to SalesModel.