### Bug description

Consider the test.ipynb jupyter file as:

```
#%%

import pandas as pd

x = pd.DataFrame({"a": [1.1, 2, 3], "b": [4, 5, 6]})
x

#%%

x.style.format('{:.0f}')
```
In jupyterlab, exporting as html has this as result.
![ss](https://user-images.githubusercontent.com/1168223/191247062-19e8fd8c-63cf-4c7e-8208-7b622c22a2e6.png)
:

By running `quarto render test.ipynb --to html`, the first table is properly formatted, but the second, which comes from the style method, is broken:
![ss](https://user-images.githubusercontent.com/1168223/191247789-96a614d6-827b-482d-978e-db938d00fb89.png)


Jupyter lab version: 3.4.4
nbconvert version: 6.5.0
Ubuntu 22.04.1 LTS 


### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [x] Please document the operating system you're running. If on Linux, please provide the specific distribution.
cscheid
2022-09-20T11:40:17Z
a0th
bug third-party
Future
open
Pandas .style not compatible with html reports
https://github.com/quarto-dev/quarto-cli/issues/2513