> For the complete documentation index, see [llms.txt](https://documentation.astera.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.astera.com/dataprep/cleanse/replace-null-values.md).

# Replace Null Values

In this document, you’ll learn how to use the Replace Null Values function in Astera Dataprep to handle missing data by replacing null strings or numerics with default values.

1. To begin, click on the *Cleanse* option in the toolbar and select *Replace Null Values* from the drop-down.

![](/files/G8Ikioih3qk5AubjVTl0)

2. This will open the *Recipe Configuration – Replace Null Values* panel.

<img src="/files/R35ugIFlldXK1RPzyA3l" alt="" width="377">

3. In this panel, you’ll configure the following options:

* Column Section Properties:
  * **Apply to entire dataset:** The changes will be applied to the entire dataset.
  * **Apply to specific column(s):** Allows you to apply changes to selected columns only.
* Replace Nulls:
  * **Null strings with blanks:** Replaces all null strings with blank entries.
  * **Null numerics with zeros:** Replaces all null numeric values with 0.

<img src="/files/srrLh8LZkXFx3ybUVb8m" alt="" width="381">

4. Once you’re done, click <img src="/files/cV9XvdKHFU5nJBsyr2V7" alt="" data-size="line">*Apply.* In the Grid, you’ll see that all specified null values have been replaced accordingly.

![](/files/fXqLC6MWchTXraOhi9x2)

5. Alternatively, you can right-click on a column in the Grid and go to *Cleanse > Replace Null Values.* The same configuration panel will appear with the column already selected. Make any changes you need and click *Apply* to update your data.

![](/files/VMN7e20Mxm38YetPbwEb)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://documentation.astera.com/dataprep/cleanse/replace-null-values.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
