-
Hello, I have two pandas dataframes A and B which I want to display side by side like is done in the Quarto guide: This fails because it only displays B (which is normal given how Python works): #| label: tbl-ref
#| tbl-cap: "Main Caption"
#| tbl-subcap:
#| - "Table 1"
#| - "Table 2"
#| layout-ncol: 2
#| echo: fenced
A
B |
Beta Was this translation helpful? Give feedback.
Answered by
ianxek
Nov 28, 2022
Replies: 1 comment
-
I found the answer so I will post it there: first from IPython.display import display then #| label: tbl-ref
#| tbl-cap: "Main Caption"
#| tbl-subcap:
#| - "Table 1"
#| - "Table 2"
#| layout-ncol: 2
#| echo: fenced
display(A)
display(B) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ianxek
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found the answer so I will post it there:
first
then