-
I've been getting acquainted with
Is it possible to do the same with a table? Specifically, can I reuse a table such as that created by pandas.crosstab() (i.e., a dataframe rendered as HTML in a notebook cell's output) within an article, without having to recreate the table in Markdown? Perhaps I'm just missing something obvious here? Thanks very much in advance for any pointers! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Thanks @pschumm. You can add a
Over in jupyter, the cell needs to be labeled with Hope that helps! |
Beta Was this translation helpful? Give feedback.
-
Sorry for asking in two places—I mistakenly asked first in |
Beta Was this translation helpful? Give feedback.
Thanks @pschumm. You can add a
:kind: table
to the figure, and it will work. In addition to that you can wrap it in atable
directive and use anembed
or![](#pd-table)
inside of the body of the table directive. These will give you thesource
and the table caption.Over in jupyter, the cell needs to be labeled with
#| label: pd-table
.Hope that helps!