Run selected code/line in Jupyter notebook
I would like to ask for the feature to run only selected text/line in Jupyter notebook
In Google Colab, you have the option to run only selected code/line by pressing Ctrl + Shift + Enter. Here I just highlighted only "flights" and run, so it showed the dataframe, not the result of "1+1"
@nstrayer would it be appropriate to add this this to one of the Jupyter Keymap issues #2357 or #3014?
Hmm, If I'm not mistaken this is a special feature of colab so it isn't getting us back to parity with plain jupyter notebooks (as those issues are about doing) but taking us beyond. Worth adding as a feature request though. I agree it's a nice feature.
@ntluong95 have you used VSCode's "Run cell by line" feature? If that were available in Positron, would that work for you instead?
No I have not. I think it is of the debugging mode rather than come as nature in normal .py file