> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/data-science-lab-4/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/data-science-lab-4/project/tabs-for-a-data-science-lab-project/tabs-for-pyspark-environment/dataset/dataset-list-page/data-preparation.md).

# Data Preparation

Data Preparation involves gathering, refining, and converting raw data is a critical step in data analysis and machine learning, as the quality and accuracy of the data used directly impact the accuracy and reliability of the results. The data preparation is to ensure that the data is accurate, complete, consistent, and relevant to the analysis. By using this action, the data scientist can make more informed decisions, extract valuable insights, and unveil concealed trends and patterns within the raw data.

{% hint style="info" %} <mark style="color:green;">Please Note</mark>*<mark style="color:green;">:</mark> The BDB Data Science Lab provides an option to access this functionality on the Dataset List page.*
{% endhint %}

* Navigate to the Dataset list page.
* Select a Dataset from the list.
* Click the ***Data Preparation*** icon.

<figure><img src="/files/HJdHTY3mHPhBvxxcIsQQ" alt=""><figcaption><p><em><strong>Data Preparation icon for a Dataset</strong></em></p></figcaption></figure>

* The ***Data Preparation*** page opens displaying the dataset in the grid format.
* Apply the required transforms on the data set. E.g., ***Auto Prep*** option is applied on the displayed Dataset (The user can also use any transformation using the ***Transforms*** tab).

<figure><img src="/files/L9Orgn1t3tSIj8VOzO9P" alt=""><figcaption></figcaption></figure>

* Since Auto Prep is selected the below screen appears.&#x20;
* Select or reject the listed transforms by using the checkbox under the Transformation List that appears for the Auto Prep option.
* Click the ***Proceed*** option.

<figure><img src="/files/BtBKzSzYYLTrLSKEJUA1" alt=""><figcaption></figcaption></figure>

* Provide a name for the ***Data Preparation***.
* Click the ***Back*** icon to go back.

<figure><img src="/files/AosqHK3JtfPISqZXDSz1" alt=""><figcaption></figcaption></figure>

* While clicking the ***Back*** icon, a notification message appears to inform the users that the data preparation has been saved.

<figure><img src="/files/TFmj76qLs6dS6yV1yi7f" alt=""><figcaption></figcaption></figure>

* The user gets redirected to the ***Dataset*** list page.&#x20;
* Select the ***Dataset*** for which the Preparation was saved.&#x20;
* Click the ***Data Preparation*** icon for the same Dataset.

<figure><img src="/files/iFkjeVvLykZ3qQMSvL1M" alt=""><figcaption></figcaption></figure>

* While opening the Dataset it redirects to the ***Preparation List*** displaying the saved data preparation.

<figure><img src="/files/ZmX3HCw1Vc08AUCoPXyw" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note</mark>:*&#x20;

* *The details on how to use the Data Preparation option are described in the **Data Preparation** section under the Data Center.*
* *Refer the* [***Data Science Lab Quick Start Flow***](https://docs.bdb.ai/data-science-lab-4/data-science-lab-quick-start-flow) *page to get an overview of the **Data Science Lab** module in nutshell.*&#x20;
  {% endhint %}


---

# 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://docs.bdb.ai/data-science-lab-4/project/tabs-for-a-data-science-lab-project/tabs-for-pyspark-environment/dataset/dataset-list-page/data-preparation.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.
