Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Esta página explica como encontrar e substituir ao preparar dados no espaço de trabalho do Wrangler do Cloud Data Fusion Studio. No Wrangler, é possível encontrar e substituir
valores em colunas de qualquer tipo de dados.
Para encontrar e substituir valores em uma coluna, siga estas etapas:
Na guia Dados, acesse o nome de uma coluna e clique na seta de expansão arrow_drop_down.
Selecione Localizar e substituir.
Opcional: escolha substituir apenas correspondências exatas e ignorar maiúsculas e minúsculas.
No campo Localizar, insira o valor a ser substituído.
No campo Substituir, insira o valor de substituição.
Clique em Substituir tudo.
O Wrangler substitui os valores na coluna e adiciona a diretiva find-and-replace
à receita. Quando você executa o pipeline de dados, o Cloud Data Fusion
aplica a transformação a cada valor na coluna. Por exemplo, em uma coluna
chamada Name, substitua a string Doctor por Dr. usando as etapas
anteriores. O Wrangler adiciona a diretiva find-and-replace Name s/Doctor/Dr./g à
receita.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-09-04 UTC."],[[["\u003cp\u003eThis page provides instructions on how to use the "Find and replace" feature within the Wrangler workspace of Cloud Data Fusion Studio.\u003c/p\u003e\n"],["\u003cp\u003eWrangler enables users to find and replace specific values within columns, regardless of the data type.\u003c/p\u003e\n"],["\u003cp\u003eThe process involves navigating to the desired column, selecting "Find and replace," specifying the values to find and replace, and then executing the replacement.\u003c/p\u003e\n"],["\u003cp\u003eUpon completing the replacement, Wrangler automatically adds a \u003ccode\u003efind-and-replace\u003c/code\u003e directive to the recipe, which is then applied during the data pipeline's execution.\u003c/p\u003e\n"]]],[],null,["# Find and replace data\n\nThis page explains how to find and replace when you prepare data in the Wrangler\nworkspace of the Cloud Data Fusion Studio. In Wrangler, you can find and replace\nvalues in columns of any data type.\n\nTo find and replace values in a column, follow these steps:\n\n1. [Go to Wrangler workspace in Cloud Data Fusion](/data-fusion/docs/concepts/wrangler-overview#navigate-to-wrangler).\n2. On the **Data** tab, go to a column name and click the arrow_drop_down expander arrow.\n3. Select **Find and replace**.\n4. Optional: choose to replace only exact matches and to ignore letter case.\n5. In the **Find** field, enter the value to replace.\n6. In the **Replace** field, enter the replacement value.\n7. Click **Replace all**.\n\nWrangler replaces the values in the column and adds the `find-and-replace`\ndirective to the recipe. When you run the data pipeline, Cloud Data Fusion\napplies the transformation to each value in the column. For example, in a column\ncalled `Name`, you replace the string `Doctor` with `Dr.` using the preceding\nsteps. Wrangler adds the directive `find-and-replace Name s/Doctor/Dr./g` to the\nrecipe.\n\nWhat's next\n-----------\n\n- Learn more about [Wrangler directives](/data-fusion/docs/concepts/wrangler-overview#apply_directives)."]]