When you make selections in the Transformer page, Trifacta® Wrangler responds by posting a set of suggestions for transformations to apply to the selected data in the sample. You can experiment with these suggestions to see what properly transformations your data.
As you move the cursor around the Transformer page, the cursor changes when it is over a selectable data element.
|Value or values can be selected.|
|Column or columns can be selected.|
In the data grid:
- You may select categories of values in a column's data quality bar: Valid, Mismatched, and Missing.
- You may select one or more values in a column's histogram. Use
CTRLto select multiple values.
- Click a column for column-based operations. Click additional columns to add to your selection. Click a selected column to deselect.
Select a whole or partial cell value to prompt suggestions for managing that specific string of data.
Tip: If you
CTRL-select multiple partial values in a column of numeric data, the suggestion cards apply to the pattern that matches your selected strings. This does not apply to string data.
NOTE: In the data grid, selection of multiple values in a column is not supported for prompting of suggestions. However, through the Column Details panel, you can review and select patterns to triggers suggestions for sets of multiple values in your column. See Column Details Panel.
In the Column Browser or Column Details:
- Select categories of values in the data quality bar.
- Select one or more values in a column's histogram.
Transformation types without suggestions
The following types of transforms are not available through the suggestion cards. In most cases, these operations have too many parameters for a single set of selections to properly suggest the transformation.
- Lookup. See Lookup Wizard.
Join. See Join Panel.
- Pivot/Unpivot can be suggested when you select a column, instead of a value. See Pivot Data.
Based on your selections, relevant suggestions appear in suggestion cards:
In the suggestion cards, the label at the top identifies the transformation type that is being recommended, followed by a brief preview of how the selection might transform the data.
Tip: A suggestion card may contain multiple variants for each suggestion. For example, in the previous image the
extract suggestion has many variants, which can be selected and reviewed by selecting the dots at the bottom of the card.
Additional suggestions may be available. Try horizontal scrolling the set of cards to reveal new suggestions.
For more information, see Suggestion Cards Panel.
Decide on the Suggestion
Before you decide on the suggestion to follow, you can do one of the following:
- Select the suggestion to use. After a suggestion is selected, the changes to the data are previewed in the Transformer page immediately. If there are multiple variants for the suggestion, verify that you are selecting the most appropriate one.
- Select additional columns or values in the Transformer page. A different pattern-based set of suggestions is presented to you. Make your transformation selection.
- Modify the suggestion. You may need to customize the suggestion to meet more specific requirements.
- Start over. If you discover that you have selected the wrong example data, click Cancel. Start again.
To make the suggestion work for your specific use, you might need to modify the step. For example, for the selected text, you might need to define a replacement value, which Trifacta Wrangler may not be able to guess. Click Edit.
For more information on how to modify, see Transform Builder.
As soon as you select a suggestion card, the changes are previewed in the Data Grid:
In this manner, you can review the change before it is applied to the sample.
Tip: You can use the checkboxes in the status bar to display only the rows, columns, or both that are affected by the previewed transformation.
Experiment away! Things to keep in mind:
- If you select the wrong thing, you can always cancel the recipe step. Start again.
- To delete a step that has already been added, select the step in the Recipe panel and click the Trash icon to delete it. See Recipe Panel.
- To step back a number of steps in the recipe, select the recipe to which you want to revert and start adding steps. Note that any added steps may invalidate the subsequent steps in your recipe.
- You can always undo and redo your most recent actions. Use the buttons on the top of the Recipe panel.
- An executed recipe does not change the source, so you can always step back to your recipe in the Transformer page and revert or modify recipe steps.
This page has no comments.