# Column Options


# Column Subset

Select and reorder columns with the `columns` parameter:


``` python
from great_docs import tbl_preview
from gdtest_tbl_preview import sample_inventory

data = sample_inventory(25)
tbl_preview(data, columns=["product", "price", "rating"])
```


<table class="gt_table" data-quarto-disable-processing="true" data-quarto-bootstrap="false">
<thead>
<tr class="gt_heading">
<th colspan="4" class="gt_heading gt_title gt_font_normal"><div style="padding-top: 0; padding-bottom: 7px;">
<span class="gd-tbl-badge" style="background-color: #F0F0F0; color: #333333; border: 1px solid #F0F0F0; margin-right: 8px;">Table</span>Rows25Columns5
</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="price" class="gt_col_heading gt_columns_bottom_border gt_right" scope="col"><div>

price

<em>f64</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: 197px">Contraption</td>
<td class="gt_row gt_right" style="max-width: 132px">133.76</td>
<td class="gt_row gt_right" style="max-width: 136px">1.5</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">1</td>
<td class="gt_row gt_left" style="max-width: 197px">Contraption</td>
<td class="gt_row gt_right" style="max-width: 132px">12.23</td>
<td class="gt_row gt_right" style="max-width: 136px">4.3</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">2</td>
<td class="gt_row gt_left" style="max-width: 197px">Thingamajig</td>
<td class="gt_row gt_right" style="max-width: 132px">9.54</td>
<td class="gt_row gt_right" style="max-width: 136px">1.7</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">3</td>
<td class="gt_row gt_left" style="max-width: 197px">Doohickey</td>
<td class="gt_row gt_right" style="max-width: 132px">97.38</td>
<td class="gt_row gt_right" style="max-width: 136px">1.3</td>
</tr>
<tr class="gd-tbl-divider">
<td class="gt_row gt_right gd-tbl-rownum">4</td>
<td class="gt_row gt_left" style="max-width: 197px">Thingamajig</td>
<td class="gt_row gt_right" style="max-width: 132px">164.84</td>
<td class="gt_row gt_right" style="max-width: 136px">2.2</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">20</td>
<td class="gt_row gt_left" style="max-width: 197px">Doohickey</td>
<td class="gt_row gt_right" style="max-width: 132px">140.52</td>
<td class="gt_row gt_right" style="max-width: 136px">3.6</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">21</td>
<td class="gt_row gt_left" style="max-width: 197px">Whatchamacallit</td>
<td class="gt_row gt_right" style="max-width: 132px">184.83</td>
<td class="gt_row gt_right" style="max-width: 136px">3.6</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">22</td>
<td class="gt_row gt_left" style="max-width: 197px">Gadget</td>
<td class="gt_row gt_right" style="max-width: 132px">30.53</td>
<td class="gt_row gt_right" style="max-width: 136px">2.2</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">23</td>
<td class="gt_row gt_left" style="max-width: 197px">Gadget</td>
<td class="gt_row gt_right" style="max-width: 132px">173.47</td>
<td class="gt_row gt_right" style="max-width: 136px">4.5</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">24</td>
<td class="gt_row gt_left" style="max-width: 197px">Apparatus</td>
<td class="gt_row gt_right" style="max-width: 132px">121.94</td>
<td class="gt_row gt_right" style="max-width: 136px">3.9</td>
</tr>
</tbody>
</table>


# Wide Table

A table with 20 columns overflows and scrolls horizontally:


``` python
from gdtest_tbl_preview import sample_wide

tbl_preview(sample_wide(12, 20))
```


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

col_001

<em>f64</em>

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

col_002

<em>f64</em>

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

col_003

<em>f64</em>

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

col_004

<em>f64</em>

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

col_005

<em>f64</em>

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

col_006

<em>f64</em>

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

col_007

<em>f64</em>

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

col_008

<em>f64</em>

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

col_009

<em>f64</em>

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

col_010

<em>f64</em>

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

col_011

<em>f64</em>

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

col_012

<em>f64</em>

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

col_013

<em>f64</em>

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

col_014

<em>f64</em>

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

col_015

<em>f64</em>

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

col_016

<em>f64</em>

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

col_017

<em>f64</em>

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

col_018

<em>f64</em>

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

col_019

<em>f64</em>

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

col_020

<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_right" style="max-width: 71px">-0.256</td>
<td class="gt_row gt_right" style="max-width: 71px">-1.666</td>
<td class="gt_row gt_right" style="max-width: 71px">0.309</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.447</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.106</td>
<td class="gt_row gt_right" style="max-width: 71px">0.615</td>
<td class="gt_row gt_right" style="max-width: 71px">-1.9</td>
<td class="gt_row gt_right" style="max-width: 71px">0.519</td>
<td class="gt_row gt_right" style="max-width: 71px">-1.311</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.88</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.787</td>
<td class="gt_row gt_right" style="max-width: 71px">0.764</td>
<td class="gt_row gt_right" style="max-width: 71px">-1.124</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.226</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.341</td>
<td class="gt_row gt_right" style="max-width: 71px">0.797</td>
<td class="gt_row gt_right" style="max-width: 71px">0.222</td>
<td class="gt_row gt_right" style="max-width: 71px">0.001</td>
<td class="gt_row gt_right" style="max-width: 71px">0.4</td>
<td class="gt_row gt_right" style="max-width: 71px">1.424</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">1</td>
<td class="gt_row gt_right" style="max-width: 71px">0.511</td>
<td class="gt_row gt_right" style="max-width: 71px">0.855</td>
<td class="gt_row gt_right" style="max-width: 71px">0.394</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.957</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.817</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.612</td>
<td class="gt_row gt_right" style="max-width: 71px">-2.518</td>
<td class="gt_row gt_right" style="max-width: 71px">0.548</td>
<td class="gt_row gt_right" style="max-width: 71px">1.61</td>
<td class="gt_row gt_right" style="max-width: 71px">0.946</td>
<td class="gt_row gt_right" style="max-width: 71px">0.632</td>
<td class="gt_row gt_right" style="max-width: 71px">0.566</td>
<td class="gt_row gt_right" style="max-width: 71px">0.244</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.063</td>
<td class="gt_row gt_right" style="max-width: 71px">0.623</td>
<td class="gt_row gt_right" style="max-width: 71px">0.141</td>
<td class="gt_row gt_right" style="max-width: 71px">0.639</td>
<td class="gt_row gt_right" style="max-width: 71px">-1.14</td>
<td class="gt_row gt_right" style="max-width: 71px">0.41</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.263</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">2</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.226</td>
<td class="gt_row gt_right" style="max-width: 71px">0.506</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.661</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.521</td>
<td class="gt_row gt_right" style="max-width: 71px">0.497</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.453</td>
<td class="gt_row gt_right" style="max-width: 71px">0.357</td>
<td class="gt_row gt_right" style="max-width: 71px">-1.568</td>
<td class="gt_row gt_right" style="max-width: 71px">0.552</td>
<td class="gt_row gt_right" style="max-width: 71px">1.465</td>
<td class="gt_row gt_right" style="max-width: 71px">1.129</td>
<td class="gt_row gt_right" style="max-width: 71px">2.011</td>
<td class="gt_row gt_right" style="max-width: 71px">0.398</td>
<td class="gt_row gt_right" style="max-width: 71px">-2.728</td>
<td class="gt_row gt_right" style="max-width: 71px">1.092</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.088</td>
<td class="gt_row gt_right" style="max-width: 71px">-1.527</td>
<td class="gt_row gt_right" style="max-width: 71px">0.766</td>
<td class="gt_row gt_right" style="max-width: 71px">1.498</td>
<td class="gt_row gt_right" style="max-width: 71px">-2.297</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">3</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.315</td>
<td class="gt_row gt_right" style="max-width: 71px">0.499</td>
<td class="gt_row gt_right" style="max-width: 71px">1.718</td>
<td class="gt_row gt_right" style="max-width: 71px">1.221</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.062</td>
<td class="gt_row gt_right" style="max-width: 71px">-1.265</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.736</td>
<td class="gt_row gt_right" style="max-width: 71px">1.282</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.15</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.445</td>
<td class="gt_row gt_right" style="max-width: 71px">0.859</td>
<td class="gt_row gt_right" style="max-width: 71px">0.325</td>
<td class="gt_row gt_right" style="max-width: 71px">0.239</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.487</td>
<td class="gt_row gt_right" style="max-width: 71px">-2.683</td>
<td class="gt_row gt_right" style="max-width: 71px">1.533</td>
<td class="gt_row gt_right" style="max-width: 71px">-1.51</td>
<td class="gt_row gt_right" style="max-width: 71px">1.589</td>
<td class="gt_row gt_right" style="max-width: 71px">-1.02</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.387</td>
</tr>
<tr class="gd-tbl-divider">
<td class="gt_row gt_right gd-tbl-rownum">4</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.93</td>
<td class="gt_row gt_right" style="max-width: 71px">-1.691</td>
<td class="gt_row gt_right" style="max-width: 71px">0.557</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.808</td>
<td class="gt_row gt_right" style="max-width: 71px">-1.465</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.968</td>
<td class="gt_row gt_right" style="max-width: 71px">-1.12</td>
<td class="gt_row gt_right" style="max-width: 71px">0.955</td>
<td class="gt_row gt_right" style="max-width: 71px">0.325</td>
<td class="gt_row gt_right" style="max-width: 71px">-1.38</td>
<td class="gt_row gt_right" style="max-width: 71px">0.345</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.428</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.431</td>
<td class="gt_row gt_right" style="max-width: 71px">1.009</td>
<td class="gt_row gt_right" style="max-width: 71px">1.089</td>
<td class="gt_row gt_right" style="max-width: 71px">1.048</td>
<td class="gt_row gt_right" style="max-width: 71px">0.615</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.89</td>
<td class="gt_row gt_right" style="max-width: 71px">1.136</td>
<td class="gt_row gt_right" style="max-width: 71px">-1.854</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">7</td>
<td class="gt_row gt_right" style="max-width: 71px">0.424</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.468</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.74</td>
<td class="gt_row gt_right" style="max-width: 71px">-1.49</td>
<td class="gt_row gt_right" style="max-width: 71px">0.946</td>
<td class="gt_row gt_right" style="max-width: 71px">-2.032</td>
<td class="gt_row gt_right" style="max-width: 71px">0.157</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.634</td>
<td class="gt_row gt_right" style="max-width: 71px">1.146</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.298</td>
<td class="gt_row gt_right" style="max-width: 71px">0.575</td>
<td class="gt_row gt_right" style="max-width: 71px">0.924</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.522</td>
<td class="gt_row gt_right" style="max-width: 71px">0.954</td>
<td class="gt_row gt_right" style="max-width: 71px">-1.492</td>
<td class="gt_row gt_right" style="max-width: 71px">-1.147</td>
<td class="gt_row gt_right" style="max-width: 71px">-1.47</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.178</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.181</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.611</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">8</td>
<td class="gt_row gt_right" style="max-width: 71px">1.037</td>
<td class="gt_row gt_right" style="max-width: 71px">0.305</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.344</td>
<td class="gt_row gt_right" style="max-width: 71px">0.048</td>
<td class="gt_row gt_right" style="max-width: 71px">1.441</td>
<td class="gt_row gt_right" style="max-width: 71px">-1.458</td>
<td class="gt_row gt_right" style="max-width: 71px">0.246</td>
<td class="gt_row gt_right" style="max-width: 71px">0.842</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.662</td>
<td class="gt_row gt_right" style="max-width: 71px">1.405</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.176</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.337</td>
<td class="gt_row gt_right" style="max-width: 71px">2.43</td>
<td class="gt_row gt_right" style="max-width: 71px">0.856</td>
<td class="gt_row gt_right" style="max-width: 71px">0.176</td>
<td class="gt_row gt_right" style="max-width: 71px">0.915</td>
<td class="gt_row gt_right" style="max-width: 71px">1.266</td>
<td class="gt_row gt_right" style="max-width: 71px">-1.972</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.744</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.01</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">9</td>
<td class="gt_row gt_right" style="max-width: 71px">0.249</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.046</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.106</td>
<td class="gt_row gt_right" style="max-width: 71px">1.306</td>
<td class="gt_row gt_right" style="max-width: 71px">0.362</td>
<td class="gt_row gt_right" style="max-width: 71px">0.239</td>
<td class="gt_row gt_right" style="max-width: 71px">0.434</td>
<td class="gt_row gt_right" style="max-width: 71px">-1.811</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.415</td>
<td class="gt_row gt_right" style="max-width: 71px">-1.027</td>
<td class="gt_row gt_right" style="max-width: 71px">0.277</td>
<td class="gt_row gt_right" style="max-width: 71px">0.386</td>
<td class="gt_row gt_right" style="max-width: 71px">0.355</td>
<td class="gt_row gt_right" style="max-width: 71px">1.491</td>
<td class="gt_row gt_right" style="max-width: 71px">1.195</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.266</td>
<td class="gt_row gt_right" style="max-width: 71px">0.747</td>
<td class="gt_row gt_right" style="max-width: 71px">1.407</td>
<td class="gt_row gt_right" style="max-width: 71px">1.019</td>
<td class="gt_row gt_right" style="max-width: 71px">0.833</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">10</td>
<td class="gt_row gt_right" style="max-width: 71px">0.395</td>
<td class="gt_row gt_right" style="max-width: 71px">0.521</td>
<td class="gt_row gt_right" style="max-width: 71px">0.632</td>
<td class="gt_row gt_right" style="max-width: 71px">-2.014</td>
<td class="gt_row gt_right" style="max-width: 71px">0.119</td>
<td class="gt_row gt_right" style="max-width: 71px">1.443</td>
<td class="gt_row gt_right" style="max-width: 71px">1.594</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.184</td>
<td class="gt_row gt_right" style="max-width: 71px">1.042</td>
<td class="gt_row gt_right" style="max-width: 71px">1.261</td>
<td class="gt_row gt_right" style="max-width: 71px">0.573</td>
<td class="gt_row gt_right" style="max-width: 71px">1.837</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.554</td>
<td class="gt_row gt_right" style="max-width: 71px">-1.701</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.149</td>
<td class="gt_row gt_right" style="max-width: 71px">0.132</td>
<td class="gt_row gt_right" style="max-width: 71px">1.473</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.096</td>
<td class="gt_row gt_right" style="max-width: 71px">0.115</td>
<td class="gt_row gt_right" style="max-width: 71px">0.079</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">11</td>
<td class="gt_row gt_right" style="max-width: 71px">0.185</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.642</td>
<td class="gt_row gt_right" style="max-width: 71px">0.248</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.322</td>
<td class="gt_row gt_right" style="max-width: 71px">-1.299</td>
<td class="gt_row gt_right" style="max-width: 71px">0.578</td>
<td class="gt_row gt_right" style="max-width: 71px">0.619</td>
<td class="gt_row gt_right" style="max-width: 71px">1.02</td>
<td class="gt_row gt_right" style="max-width: 71px">0.027</td>
<td class="gt_row gt_right" style="max-width: 71px">-1.268</td>
<td class="gt_row gt_right" style="max-width: 71px">0.001</td>
<td class="gt_row gt_right" style="max-width: 71px">-2.565</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.099</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.353</td>
<td class="gt_row gt_right" style="max-width: 71px">0.191</td>
<td class="gt_row gt_right" style="max-width: 71px">0.705</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.938</td>
<td class="gt_row gt_right" style="max-width: 71px">-0.603</td>
<td class="gt_row gt_right" style="max-width: 71px">0.124</td>
<td class="gt_row gt_right" style="max-width: 71px">1.327</td>
</tr>
</tbody>
</table>


# No Row Numbers


``` python
tbl_preview(
    sample_inventory(10),
    show_row_numbers=False,
)
```


<table class="gt_table" data-quarto-disable-processing="true" data-quarto-bootstrap="false">
<thead>
<tr class="gt_heading">
<th colspan="5" class="gt_heading gt_title gt_font_normal"><div style="padding-top: 0; padding-bottom: 7px;">
<span class="gd-tbl-badge" style="background-color: #F0F0F0; color: #333333; border: 1px solid #F0F0F0; margin-right: 8px;">Table</span>Rows10Columns5
</div></th>
</tr>
<tr class="gt_col_headings">
<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="stock" class="gt_col_heading gt_columns_bottom_border gt_right" scope="col"><div>

stock

<em>i64</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_left" style="max-width: 121px">Contraption</td>
<td class="gt_row gt_left" style="max-width: 121px">Office</td>
<td class="gt_row gt_right" style="max-width: 85px">159.56</td>
<td class="gt_row gt_right" style="max-width: 81px">346</td>
<td class="gt_row gt_right" style="max-width: 89px">2.7</td>
</tr>
<tr>
<td class="gt_row gt_left" style="max-width: 121px">Contraption</td>
<td class="gt_row gt_left" style="max-width: 121px">Office</td>
<td class="gt_row gt_right" style="max-width: 85px">158.72</td>
<td class="gt_row gt_right" style="max-width: 81px">396</td>
<td class="gt_row gt_right" style="max-width: 89px">2.5</td>
</tr>
<tr>
<td class="gt_row gt_left" style="max-width: 121px">Thingamajig</td>
<td class="gt_row gt_left" style="max-width: 121px">Electronics</td>
<td class="gt_row gt_right" style="max-width: 85px">165.35</td>
<td class="gt_row gt_right" style="max-width: 81px">44</td>
<td class="gt_row gt_right" style="max-width: 89px">4.7</td>
</tr>
<tr>
<td class="gt_row gt_left" style="max-width: 121px">Doohickey</td>
<td class="gt_row gt_left" style="max-width: 121px">Office</td>
<td class="gt_row gt_right" style="max-width: 85px">172.99</td>
<td class="gt_row gt_right" style="max-width: 81px">240</td>
<td class="gt_row gt_right" style="max-width: 89px">1.3</td>
</tr>
<tr>
<td class="gt_row gt_left" style="max-width: 121px">Thingamajig</td>
<td class="gt_row gt_left" style="max-width: 121px">Garden</td>
<td class="gt_row gt_right" style="max-width: 85px">46.46</td>
<td class="gt_row gt_right" style="max-width: 81px">161</td>
<td class="gt_row gt_right" style="max-width: 89px">3.1</td>
</tr>
<tr>
<td class="gt_row gt_left" style="max-width: 121px">Thingamajig</td>
<td class="gt_row gt_left" style="max-width: 121px">Tools</td>
<td class="gt_row gt_right" style="max-width: 85px">94.99</td>
<td class="gt_row gt_right" style="max-width: 81px">206</td>
<td class="gt_row gt_right" style="max-width: 89px">1.8</td>
</tr>
<tr>
<td class="gt_row gt_left" style="max-width: 121px">Doohickey</td>
<td class="gt_row gt_left" style="max-width: 121px">Garden</td>
<td class="gt_row gt_right" style="max-width: 85px">39.91</td>
<td class="gt_row gt_right" style="max-width: 81px">21</td>
<td class="gt_row gt_right" style="max-width: 89px">2.9</td>
</tr>
<tr>
<td class="gt_row gt_left" style="max-width: 121px">Gadget</td>
<td class="gt_row gt_left" style="max-width: 121px">Office</td>
<td class="gt_row gt_right" style="max-width: 85px">115.55</td>
<td class="gt_row gt_right" style="max-width: 81px">137</td>
<td class="gt_row gt_right" style="max-width: 89px">1.2</td>
</tr>
<tr>
<td class="gt_row gt_left" style="max-width: 121px">Gizmo</td>
<td class="gt_row gt_left" style="max-width: 121px">Office</td>
<td class="gt_row gt_right" style="max-width: 85px">21.18</td>
<td class="gt_row gt_right" style="max-width: 81px">285</td>
<td class="gt_row gt_right" style="max-width: 89px">1.5</td>
</tr>
<tr>
<td class="gt_row gt_left" style="max-width: 121px">Contraption</td>
<td class="gt_row gt_left" style="max-width: 121px">Tools</td>
<td class="gt_row gt_right" style="max-width: 85px">144.75</td>
<td class="gt_row gt_right" style="max-width: 81px">3</td>
<td class="gt_row gt_right" style="max-width: 89px">4.8</td>
</tr>
</tbody>
</table>


# No Dtype Labels


``` python
tbl_preview(
    sample_inventory(10),
    show_dtypes=False,
)
```


<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: #F0F0F0; color: #333333; border: 1px solid #F0F0F0; margin-right: 8px;">Table</span>Rows10Columns5
</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">product</th>
<th id="category" class="gt_col_heading gt_columns_bottom_border gt_left" scope="col">category</th>
<th id="price" class="gt_col_heading gt_columns_bottom_border gt_right" scope="col">price</th>
<th id="stock" class="gt_col_heading gt_columns_bottom_border gt_right" scope="col">stock</th>
<th id="rating" class="gt_col_heading gt_columns_bottom_border gt_right" scope="col">rating</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: 114px">Contraption</td>
<td class="gt_row gt_left" style="max-width: 114px">Office</td>
<td class="gt_row gt_right" style="max-width: 78px">159.56</td>
<td class="gt_row gt_right" style="max-width: 74px">346</td>
<td class="gt_row gt_right" style="max-width: 82px">2.7</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">1</td>
<td class="gt_row gt_left" style="max-width: 114px">Contraption</td>
<td class="gt_row gt_left" style="max-width: 114px">Office</td>
<td class="gt_row gt_right" style="max-width: 78px">158.72</td>
<td class="gt_row gt_right" style="max-width: 74px">396</td>
<td class="gt_row gt_right" style="max-width: 82px">2.5</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">2</td>
<td class="gt_row gt_left" style="max-width: 114px">Thingamajig</td>
<td class="gt_row gt_left" style="max-width: 114px">Electronics</td>
<td class="gt_row gt_right" style="max-width: 78px">165.35</td>
<td class="gt_row gt_right" style="max-width: 74px">44</td>
<td class="gt_row gt_right" style="max-width: 82px">4.7</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">3</td>
<td class="gt_row gt_left" style="max-width: 114px">Doohickey</td>
<td class="gt_row gt_left" style="max-width: 114px">Office</td>
<td class="gt_row gt_right" style="max-width: 78px">172.99</td>
<td class="gt_row gt_right" style="max-width: 74px">240</td>
<td class="gt_row gt_right" style="max-width: 82px">1.3</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">4</td>
<td class="gt_row gt_left" style="max-width: 114px">Thingamajig</td>
<td class="gt_row gt_left" style="max-width: 114px">Garden</td>
<td class="gt_row gt_right" style="max-width: 78px">46.46</td>
<td class="gt_row gt_right" style="max-width: 74px">161</td>
<td class="gt_row gt_right" style="max-width: 82px">3.1</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">5</td>
<td class="gt_row gt_left" style="max-width: 114px">Thingamajig</td>
<td class="gt_row gt_left" style="max-width: 114px">Tools</td>
<td class="gt_row gt_right" style="max-width: 78px">94.99</td>
<td class="gt_row gt_right" style="max-width: 74px">206</td>
<td class="gt_row gt_right" style="max-width: 82px">1.8</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">6</td>
<td class="gt_row gt_left" style="max-width: 114px">Doohickey</td>
<td class="gt_row gt_left" style="max-width: 114px">Garden</td>
<td class="gt_row gt_right" style="max-width: 78px">39.91</td>
<td class="gt_row gt_right" style="max-width: 74px">21</td>
<td class="gt_row gt_right" style="max-width: 82px">2.9</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">7</td>
<td class="gt_row gt_left" style="max-width: 114px">Gadget</td>
<td class="gt_row gt_left" style="max-width: 114px">Office</td>
<td class="gt_row gt_right" style="max-width: 78px">115.55</td>
<td class="gt_row gt_right" style="max-width: 74px">137</td>
<td class="gt_row gt_right" style="max-width: 82px">1.2</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">8</td>
<td class="gt_row gt_left" style="max-width: 114px">Gizmo</td>
<td class="gt_row gt_left" style="max-width: 114px">Office</td>
<td class="gt_row gt_right" style="max-width: 78px">21.18</td>
<td class="gt_row gt_right" style="max-width: 74px">285</td>
<td class="gt_row gt_right" style="max-width: 82px">1.5</td>
</tr>
<tr>
<td class="gt_row gt_right gd-tbl-rownum">9</td>
<td class="gt_row gt_left" style="max-width: 114px">Contraption</td>
<td class="gt_row gt_left" style="max-width: 114px">Tools</td>
<td class="gt_row gt_right" style="max-width: 78px">144.75</td>
<td class="gt_row gt_right" style="max-width: 74px">3</td>
<td class="gt_row gt_right" style="max-width: 82px">4.8</td>
</tr>
</tbody>
</table>
