Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Auf dieser Seite wird erläutert, wie Sie Null- und leere Zellen Werte hinzufügen, wenn Sie Daten im Wrangler-Arbeitsbereich von Cloud Data Fusion Studio vorbereiten. Wenn eine Spalte Null- oder leere Zellen enthält, können Sie einen Wert angeben, der diesen Zellen hinzugefügt werden soll.
So geben Sie einen Wert an, der Null- oder leeren Zellen in einer Spalte hinzugefügt werden soll:
Klicken Sie auf dem Tab Daten auf den Namen einer Spalte und dann auf den arrow_drop_down-Pfeil zum Maximieren der Spalte.
Wählen Sie Null- oder leere Zellen füllen aus.
Geben Sie den Wert ein, der allen Null- oder leeren Zellen in der Spalte hinzugefügt werden soll.
Klicken Sie auf Übernehmen.
Wrangler füllt jede leere oder Null-Zelle mit dem neuen Wert und fügt dem Rezept die Direktive fill-null-or-empty hinzu. Wenn Sie die Datenpipeline ausführen, wird die Transformation auf alle Werte in der Spalte angewendet.
Angenommen, Sie ersetzen in einer Spalte namens Age mithilfe der vorherigen Schritte die leeren und Nullwerte durch den String N/A. Wrangler aktualisiert das Beispiel-Dataset und fügt dem Rezept die folgende Anweisung hinzu:
fill-null-or-empty :Age 'N/A'.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-04 (UTC)."],[[["\u003cp\u003eThis guide explains how to fill null or empty cells in a column within the Cloud Data Fusion Wrangler workspace.\u003c/p\u003e\n"],["\u003cp\u003eYou can specify a value to replace null or empty cells in a selected column by using the "Fill null or empty cells" option.\u003c/p\u003e\n"],["\u003cp\u003eApplying this action updates the sample dataset and adds a \u003ccode\u003efill-null-or-empty\u003c/code\u003e directive to the Wrangler recipe.\u003c/p\u003e\n"],["\u003cp\u003eThe specified value will be applied to all null or empty cells in the selected column when the data pipeline is executed.\u003c/p\u003e\n"]]],[],null,["# Fill null or empty cells\n\nThis page explains how to add values to null and empty cells when you prepare\ndata in the Wrangler workspace of the Cloud Data Fusion Studio. If you have a\ncolumn that contains null or empty cells, you can specify a value to add to\nthose cells.\n\nTo specify a value to add to null or empty cells in a column, follow these\nsteps:\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 **Fill null or empty cells**.\n4. Enter the value to add to each null or empty cell in the column.\n5. Click **Apply**.\n\nWrangler fills each null or empty cell with the new value and adds the\n`fill-null-or-empty` directive to the recipe. When you run the data pipeline,\nthe transformation is applied to all values in the column.\n\nFor example, in a column called `Age`, you replace the empty and null values\nwith the string `N/A`using the preceding steps. Wrangler updates the sample\ndataset and adds the following directive to the recipe:\n`fill-null-or-empty :Age 'N/A'`.\n\nWhat's next\n-----------\n\n- Learn more about [Wrangler directives](/data-fusion/docs/concepts/wrangler-overview#apply_directives)."]]