# Replacement

Replacement involves **substituting certain values within a dataset.** For example, replacing missing values with a predefined value like mean, median, or a specific constant, or replacing certain categories with new values. It's useful for handling missing data or modifying specific entries in a dataset.

<figure><img src="https://2063668468-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9RcwqzNNsjo496JLJ2Ob%2Fuploads%2FvBDqCy9SxbNKTnjalavH%2Fimage.png?alt=media&#x26;token=841669df-af41-4fc5-be87-d9a976c2ca92" alt="" width="303"><figcaption></figcaption></figure>

**Steps to follow:**

1. Choose the column where you want to perform the "Find and Replace" operation.&#x20;
2. Look for the "Find and Replace" option within PredictEasy.&#x20;
3. In the "Find" field, enter the text or value you want to locate within the selected column.
4. In the "Replace" field, enter the text or value you want to replace the found instances with.
5. Initiate the "Find and Replace" operation. This action triggers the replacement process.


---

# Agent Instructions: 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:

```
GET https://docs.predicteasy.com/data-preprocessing/replacement.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
