> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/data-science-lab-3/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-3/project/tabs-for-a-data-science-lab-project/tabs-for-tensorflow-and-pytorch-environment/dataset/dataset-list-page/data-preparation.md).

# Data Preparation

Data preparation is the process of collecting, cleaning, and transforming raw data into a format that can be easily analyzed and used for various applications.

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>*: 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="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FUZQIkPVlgnOnkNRk3cLd%2Fimage.png?alt=media&amp;token=bb8f7cfd-4498-4c84-a688-4aaad6a57c6a" alt=""><figcaption></figcaption></figure>

* The ***Data Preparation*** page opens displaying the dataset in the grid format.
* Apply the required transforms on the data set. E.g., There is an empty column in this dataset. The user can either select the ***Delete*** column option from the column context menu or choose it from the ***Transforms*** tab.
* Provide a name for the Data Preparation.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2Fsqcgk6DDlh0RAz0JaZkN%2Fimage.png?alt=media&amp;token=e3844fa9-7807-40d6-a9a0-73131a43020f" alt=""><figcaption></figcaption></figure>

* The selected empty column gets deleted from the data grid display of the dataset.
* Click the ***Back*** icon to go back.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FF8N6oNoyaO6d6mBkIN10%2Fimage.png?alt=media&amp;token=b632b137-c761-4b0e-9857-37b40a183fda" 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="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FWLzeAv8inMTRAmUybpUM%2Fimage.png?alt=media&amp;token=01f2ee10-0e0e-4760-8594-0d3db1c0fdaa" alt=""><figcaption></figcaption></figure>

* The user gets redirected to the ***Dataset*** list page.&#x20;
* Click the ***Data Preparation*** icon to open the data set that contains a Data Preparation saved inside it for the second time.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FGE0bjRQkObTb9PDpDJCM%2Fimage.png?alt=media&amp;token=5c0deaf6-bc14-4647-8a20-46d0e8b73d02" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2F3okLLdFAFCdwX5sS7wWP%2Fimage.png?alt=media&amp;token=fdd49589-d055-4ede-95db-5e30aecbed90" 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-3/data-science-lab-quick-start-flow)*page to get an overview of the **Data Science Lab** module in nutshell.*&#x20;
  {% endhint %}
