-
Notifications
You must be signed in to change notification settings - Fork 389
Closed as duplicate of#10139
Labels
duplicateThis issue or pull request already existsThis issue or pull request already exists
Description
Bug description
I have this use case where I need to produce word report (Ms Word is still a standard in businesses).
However Quarto doesn't render pandas format properly.
Typically, rendering:
---
title: "Hello, Quarto"
format: docx
---
## Markdown
Markdown is an easy to read and write text format:
## Code Cell
Here is a Python code cell:
```{python}
import os, pandas as pd
os.cpu_count()
pd.DataFrame({'a':[1,2,3],'b':[2,4,5]}).style.background_gradient('Blues')
```
will not work (screen capture of the word document):
However in html it works properly, displaying blue colours for the table.
It is probably my biggest use case for quarto. It would be nice to have a work around.
Regards,
Steps to reproduce
No response
Actual behavior
No response
Expected behavior
No response
Your environment
No response
Quarto check output
Output from the quarto check command:
Quarto 1.6.40
[✓] Checking environment information...
Quarto cache location: /Users/lucasmorin/Library/Caches/quarto
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.4.0: OK
Dart Sass version 1.70.0: OK
Deno version 1.46.3: OK
Typst version 0.11.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.6.40
Path: /Applications/quarto/bin
[✓] Checking tools....................OK
TinyTeX: (not installed)
Chromium: (not installed)
[✓] Checking LaTeX....................OK
Using: Installation From Path
Path: /Library/TeX/texbin
Version: 2024
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.12.2
Path: /Users/lucasmorin/.pyenv/versions/3.12.2/bin/python3
Jupyter: (None)
Jupyter is not available in this Python installation.
Install with python3 -m pip install jupyter
[✓] Checking R installation...........(None)
Unable to locate an installed version of R.
Install R from https://cloud.r-project.org/
Metadata
Metadata
Assignees
Labels
duplicateThis issue or pull request already existsThis issue or pull request already exists