Quarto - Pass dataframe as parameter and run from Python script

Viewed 43

Similar to RMarkdown, can we pass dataframe as a parameter?

How can I pass variables into an R markdown .Rmd file?

Also, can we trigger the Quarto code from a Python script? Currently doing this
os.system("quarto render plot_demo.qmd -P alpha:0.1 -P beta:0.2")

In R/RMarkdown, I could do this from an R Script

rmarkdown::render("doc.Rmd", params=list(a=a,b=b,c=c), output_dir = <output_dir>, output_file=<output_file>)

where parameter such as a could be a dataframe too.

0 Answers
Related