Log in
Log into community
Get help from the marimo community
New post
View all posts
Related posts
Was this helpful?
π
π
π
Powered by
Hall
Active
Updated 4 weeks ago
0
Follow
Reference cell output?
Question
Reference cell output?
Active
0
Follow
R
Riya Sinha
4 weeks ago
Β·
Is there a way I can reference a cell's output? E.g.
Plain Text
Copy
@app.Cell def _(): print('hi') @app.Cell def _(): return mo.cells[0].output
M
R
2 comments
Share
Open in Discord
M
Myles Scolnick
4 weeks ago
not from within the notebook, from one cell to another. i would assign it to a variable and then use that same variable
R
Riya Sinha
4 weeks ago
will try that, thank you π
Add a reply
Sign up and join the conversation on Discord
Join on Discord