display output of all expressions in a single cell
Likely Issue
Can't get marimo to display multiple dataframes in a single cell by default.
Context:
- By default, jupyter prints only the output of the last evaluated expression in a single cell. Working with multiple data frames, its tiresome to only look at a single frame in one cell.
- Known work around for jupyter: if you run the following script in cell, it starts displaying output of all the expressions.
Details
For the following sample code:
My expectation is that marimo renders 2 frames, one below another if I execute the same property update..
alternatively, I can achieve the same(render 2 dataframe in same cell) by using the
output
api.
I was wondering if there is a simpler way to do this for all expressions in a cell.
Apologies if I am missing something obvious.2 Replies
We don’t have a way to automatically output all expressions. You current idea of mo.output.append is probably the best option today
noted. thanks.