# Parquet Files


# Read a Parquet File

Apache Parquet is a columnar storage format popular in data engineering workflows.


``` python
from great_docs import tbl_preview

tbl_preview('assets/products.parquet', show_all=True)
```


<table class="gt_table" data-quarto-disable-processing="true" data-quarto-bootstrap="false">
<thead>
<tr class="gt_heading">
<th colspan="6" class="gt_heading gt_title gt_font_normal"><div style="padding-top: 0; padding-bottom: 7px;">
<span class="gd-tbl-badge" style="background-color: #F3E5F5; color: #6A1B9A; border: 1px solid #F3E5F5; margin-right: 8px;">Parquet</span>Rows5Columns5
</div></th>
</tr>
<tr class="gt_col_headings">
<th class="gt_col_heading gt_columns_bottom_border gt_right" scope="col"></th>
<th id="product" class="gt_col_heading gt_columns_bottom_border gt_left" scope="col"><div>

product

<em>str</em>

</div></th>
<th id="category" class="gt_col_heading gt_columns_bottom_border gt_left" scope="col"><div>

category

<em>str</em>

</div></th>
<th id="price" class="gt_col_heading gt_columns_bottom_border gt_right" scope="col"><div>

price

<em>f64</em>

</div></th>
<th id="in_stock" class="gt_col_heading gt_columns_bottom_border gt_left" scope="col"><div>

in_stock

<em>bool</em>

</div></th>
<th id="rating" class="gt_col_heading gt_columns_bottom_border gt_right" scope="col"><div>

rating

<em>f64</em>

</div></th>
</tr>
</thead>
<tbody class="gt_table_body">
<tr>
<td class="gt_row gt_right gd-tbl-rownum">0</td>
<td class="gt_row gt_left" style="max-width: 110px">Widget</td>
<td class="gt_row gt_left" style="max-width: 110px">Electronics</td>
<td class="gt_row gt_right" style="max-width: 74px">29.99</td>
<td class="gt_row gt_left" style="max-width: 93px">True</td>
<td class="gt_row gt_right" style="max-width: 78px">4.5</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">1</td>
<td class="gt_row gt_left" style="max-width: 110px">Gadget</td>
<td class="gt_row gt_left" style="max-width: 110px">Tools</td>
<td class="gt_row gt_right" style="max-width: 74px">49.5</td>
<td class="gt_row gt_left" style="max-width: 93px">False</td>
<td class="gt_row gt_right" style="max-width: 78px">3.8</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">2</td>
<td class="gt_row gt_left" style="max-width: 110px">Gizmo</td>
<td class="gt_row gt_left" style="max-width: 110px">Kitchen</td>
<td class="gt_row gt_right" style="max-width: 74px">12</td>
<td class="gt_row gt_left" style="max-width: 93px">True</td>
<td class="gt_row gt_right" style="max-width: 78px">4.9</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">3</td>
<td class="gt_row gt_left" style="max-width: 110px">Doohickey</td>
<td class="gt_row gt_left" style="max-width: 110px">Garden</td>
<td class="gt_row gt_right" style="max-width: 74px">8.75</td>
<td class="gt_row gt_left" style="max-width: 93px">True</td>
<td class="gt_row gt_right" style="max-width: 78px">4.2</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">4</td>
<td class="gt_row gt_left" style="max-width: 110px">Thingamajig</td>
<td class="gt_row gt_left" style="max-width: 110px">Office</td>
<td class="gt_row gt_right" style="max-width: 74px">199.99</td>
<td class="gt_row gt_left" style="max-width: 93px">False</td>
<td class="gt_row gt_right" style="max-width: 78px">2.1</td>
</tr>
</tbody>
</table>


The badge shows **Parquet** and dtype labels are preserved from the original Polars schema.
