Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

%capture --append var #42

Closed
BoPeng opened this issue Feb 7, 2018 · 0 comments
Closed

%capture --append var #42

BoPeng opened this issue Feb 7, 2018 · 0 comments

Comments

@BoPeng
Copy link
Contributor

BoPeng commented Feb 7, 2018

%capture --to var current capture output from a cell, optionally parse it as json or csv, and save the results to var. I just had a case where I would like to capture output from multiple cells to a variable so something like

%capture --append var

would be useful.

Here --append var would be equivalent to --to var is var does not exist. Otherwise --append var will append the captured text to var, with type matching type of existing var. That is to say, text to text, DataFrame appended to DataFrame ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant