How can I get a DataFrame in a Julia Notebook to output to a pdf with nbconvert and control the formatting like with knitr::kable or pander tables in an R-markdown document?
Julia notebook:
the following code cell
using DataFrames
A = DataFrame(randn(10, 7))
the pdf from nbconvert shows 10Œ7 DataFrames.DataFrame
followed by an un-formatted table. Although display(A)
and print(A)
show different outputs in the notebook, the pdf from nbconvert shows the same output as the code cell above does in the notebook.
With the Python Markdown Notebook Extension, the following markdown cells display the table in the notebook, but in the nbconvert generated pdf, the DataFrame turns into a one dimensional array.
Test1
{{A}}
Test2
| |
|------|
|{{A}}|
How can I get output like kable or pander tables in a knitted R-markdown doc in a pdf from a Julia Notebook with nbconvert?
Also on Github.