5 ms·
But, strangely, Jupyter doesn't also give you a REPL (like, say, R Studio does). I'm always making new cells in the middle to output the column names of my spre
by tgb 7y ago
But, strangely, Jupyter doesn't also give you a REPL (like, say, R Studio does). I'm always making new cells in the middle to output the column names of my spreadsheet, and then I have to delete them. I used to just always have an ipython REPL running and test things out in there as I write. You can start a ipython instance on the same kernel but I found that messed up my plots when I did that IIRC.
- sillysaurusx 7y agoYes! I've wanted this too. Colab has a nice feature that's close to this: Insert -> Scratch code cell
- ivirshup 7y agoYou can get a REPL attached to a notebook in jupyter. When you open a console in jupyter-lab you have the option of attaching it to an already running kernel. Using the notebook interface you can connect a console using `jupyter console --existing`. By default this connects to the most recent session, but you can also specify a session by passing a token.
- tgb 7y agoYeah, but problems with that are what my last sentence referred to. I didn't try debugging it for long, though.
- SiempreViernes 7y agoJust get the extension: https://jupyter-contrib-nbextensions.readthedocs.io/en/latest/nbextensions/scratchpad/README.html https://jupyter-contrib-nbextensions.readthedocs.io/en/lates... there are quite a few very useful ones, my favourite being collapsible headings: https://jupyter-contrib-nbextensions.readthedocs.io/en/latest/nbextensions/collapsible_headings/readme.html https://jupyter-contrib-nbextensions.readthedocs.io/en/lates...