Through the Standardize page, you can review similar column values and standardize them to values that you specify. For example, master data on customers and products may use different names for the same product. For the Web team, the product may be called, "ACME Cookies Chocolate Chip," while the data from the Accounting team refers to this product as, "Cookies - Choc Chip." Through the Standardize page, you can normalize these values to a single consistent value for easier consumption downstream.
- Standardization can be applied to a single column at a time.
- For more information on how Trifacta® Wrangler standardizes values, see Overview of Standardization.
Standardizations applied through this page are stored in a connected database. These standardizations cannot be migrated between instances or workspaces.
To open the Standardize page:
- From a specific column, click the column drop-down and then select Standardize....
- In the Search panel, enter
standardize column. Then, select the column whose values you wish to standardize and click Next. See Search Panel.
In the above image, Trifacta® Wrangler groups the various references to product names into its interpretation of meaningful clusters. This clustering is based on pattern-matching between values in the column.
NOTE: The Standardize page displays column values from the currently selected sample only. If the sample does not span the entire dataset, column values that are not captured in the display are not affected by standardization changes. You may need to take additional samples to capture column values outside the current sample.
In the left side of the screen, you can review the clusters of values that have been detected in the column. In the above image, you can see that the platform has identified a number of clusters based on simple differences in capitalization.
- For each cluster, you can review the number of unique values and the total number of rows where the values appear in the column.
- At the bottom of the left pane, you can review the total number of unique values in the source column and the total number of rows in the displayed sample.
- By default, values are clustered based on similar spellings. To change the algorithm by which values are clustered, click Clustering options.
- None: Do not cluster values. Individual values must be matched.
- Similar strings: Cluster values based on similarities between the text of each value.
- Pronunciation: Cluster values based on phonetic pronunciation of the values.
- For more information on these options and their variations, see Overview of Standardization.
- To locate specific values in the column, enter a search string in the Search textbox.
- To reverse the sort order within your clusters, click the caret next to Row Count.
To standardize values:
If needed, change the clustering algorithm to apply to the values.
From the left panel, select the set of values that you wish to standardize.
Tip: Unclustered values are listed at the bottom of the panel. You should review these values when you are selecting clustered values.
To select multiple values, press
Tip: To select all values in a cluster, click the gray bar for the cluster.
- To select a range of sequentially listed values, use
SHIFT+ click, which works across clusters of values.
After you have selected all values to standardize, you specify the new value to apply to these selected values in the right panel. This new value applies to all instances of the selected value or values. Changes are previewed next to the source values.
Tip: You can use one of the source values as your standardized value. Hover over the value in the left panel, and then click the icon that appears.
- Below the value you enter, you can review the number of rows in the sample that are affected by this change.
- At the bottom of the right panel, you can review the total effects of standardization on the dataset after this change is applied.
- If the new value is empty, then the values are kept as-is. No change is applied.
- To apply the standardized value to the affected clustered values, click Apply.
Repeat the previous steps as needed.
Tip: You can perform multiple replacements in a single recipe step. So, you can configure all of your standardization steps before adding the single step to your recipe. For debugging purposes, you may want to separate some or all standardization into separate steps.
- To add the standardizations, click Add to Recipe.
NOTE: You cannot copy and paste standardization steps in the Recipe panel.
This page has no comments.