# Extract Data from Table Layout

**Table View Extraction** in Pline enables accurate collection of structured data from pages that present information in a row-and-column format, such as price lists, comparison tables, financial data, schedules, or directories.&#x20;

Users can select the fields they want to capture, and Pline extracts this information consistently across all rows in the table. This method is ideal for gathering organized, tabular datasets quickly and with high precision.\
\
Follow these simple steps to extract data from a Table View using Pline.

{% hint style="success" %}
In this guide, we’ll demonstrate how to extract data specifically from **Yahoo Finance.**
{% endhint %}

### **Step 1: Create a Workflow**

Open the Pline extension and click **“Build Workflow.”**

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

### **Step 2: Select Page Type**

Choose **Table View** if the page presents data in a tabular format.

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

### Step 3: AI-Driven Field Detection

Pline uses AI to automatically detect and group similar items on the page and **preselect relevant fields**. If the grouping looks correct, click **“Yes, Looks good.”'**

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

{% hint style="info" %}
If that’s not the group you want to extract, you can try selecting the next group.
{% endhint %}

* You can easily add, edit, or remove fields based on your requirements.

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

{% hint style="info" %}
If any required data is missing, you can **manually add new fields** by selecting the required elements directly on the page.
{% endhint %}

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

### Step 4: Select Pagination Type

* Select the appropriate pagination type, then locate it on the page and tag it.

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

* Preview the sample data to ensure the correct items and fields are being extracted as expected.

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

### Step 5: Run the Workflow

Give your workflow a name and run it, or hover over the dropdown menu to save it for future use.

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

### **Step 6: Access and Export Your Data**

* Stop the extraction once you’re done.

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

* Download your dataset in **CSV** or explore further in Pline's Platform.


---

# 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.pline.ai/getting-started/extract-data-from-table-layout.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.
