Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Questa pagina spiega come trovare e sostituire i dati durante la preparazione dei dati nello spazio di lavoro Wrangler di Studio di Cloud Data Fusion. In Wrangler, puoi trovare e sostituire i valori nelle colonne di qualsiasi tipo di dati.
Nella scheda Dati, vai a un nome di colonna e fai clic sulla freccia di espansione arrow_drop_down.
Seleziona Trova e sostituisci.
(Facoltativo) Scegli di sostituire solo le corrispondenze esatte e di ignorare le lettere maiuscole.
Nel campo Trova, inserisci il valore da sostituire.
Nel campo Sostituisci, inserisci il valore sostitutivo.
Fai clic su Sostituisci tutto.
Wrangler sostituisce i valori nella colonna e aggiunge la direttiva find-and-replace
alla ricetta. Quando esegui la pipeline di dati, Cloud Data Fusion applica la trasformazione a ogni valore della colonna. Ad esempio, in una colonna chiamata Name, sostituisci la stringa Doctor con Dr. utilizzando i passaggi precedenti. Wrangler aggiunge la direttiva find-and-replace Name s/Doctor/Dr./g alla
ricetta.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 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)."]]