### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/4220

<div type='discussions-op-text'>

<sup>Originally posted by **aborruso** February  4, 2023</sup>
Hi,
I have read the documentation, and this should work

~~~~
```{python}
#| echo: false
#| label: tbl-ref
#| tbl-cap: "Main Caption"

import pandas as pd
from IPython.display import display

df = pd.read_csv("../../data/anac/tmp_cup_anac.csv", sep=",")
table=df.head(3).style. Hide(axis='index')

display(table)
```
~~~~

But I have no caption table.

I'm using 1.3.142 version on Debian 11.

Thank you

![image](https://user-images.githubusercontent.com/30607/216779947-19cb23be-cdb3-41c9-800a-65e678e455ea.png)
</div>
cscheid
2023-02-04T17:30:59Z
cscheid
bug tables
v1.3
closed
How to render in python table caption, for html output?
https://github.com/quarto-dev/quarto-cli/issues/4222