Skip to main content

Factorize

Factorize lets you extract columns from a given dataset into a new dataset with a provided key.

Format

Factorize uses a single format: Factorize the current dataset by extracting the columns <columns> into a new dataset <dataset name>.

Parameters

Factorize uses two parameters:

  • columns (required). The columns you’d like to extract.
  • dataset name (required). The name of the new dataset

Output

If a column is dataset is successfully factorized, a new dataset with the extracted columns and a key column appear in the Data tab and a key column is appended to the original dataset. Otherwise and error message is shown in the conversation history.

Examples

Consider a dataset called "Titanic". To extract the columns "Fare" and "Pclass" into a new dataset, enter Factorize the current dataset by extracting the columns Fare, Pclass into a new dataset Costs.