Glad I found you channel while exploring on how Jupyter launcher work. I like your way of explaining things so subscribed immediately and will look forward to your upcoming videos. THANK YOU Reuben!
@@ReuvenLerner Yes, well, I mean "include" (=call/embed/encapsulate) an external/underlying file (e.g. .md, .tex, etc.) into a cell of a new document, which will be automatically uptated when the content of the underlying file changes ...
@@kisho2679 Oh, I don't think that's possible. (Maybe I'm wrong, though!) Instead, you'll probably want/need to write a bunch of code in a Python module and then import that module into your notebook.
I think that you can indeed define your own themes (dark, light, or anything you want), but I've never done so myself. I found a GitHub repo (github.com/dunovank/jupyter-themes) that seems to have a bunch of them, and which will probably give you some inspiration for how to do your own.
Thanks for the great video! I'm curious as to why I'd want to open a new launcher when every new notebook I create in the same launcher has a different kernel...
Hi Reuven! How do you manage your python virtual environments? I tried to keep my base python environment clean and install all other packages in virtual environment. (vscode) But this is really not user friendly😟 Could you share your solution with us? Thank you.
I have to sheepishly admit that I'm usually teaching, and don't need venvs when I'm doing that. So Jupyter + venvs isn't something I personally need to deal with much. That said, this is a great topic suggestion, and I know that there are a bunch of good solutions out there. Let me see what I can dig up, and I'll try to do a video about that down the road!
Vscode makes it pretty user friendly to select the version of python you want to use -- click on the name of the current python interpreter on the bottom of the window (in the status area) and then navigate to the python virtual environment you want to use. Is creating the virtual environment itself the issue? Creating and tearing down virtual environments is pretty routine once you've been developing in python for a while, but there is a tool called "virtualenvwrapper" that you can use to bundle up commands you want to run every time you create a new virtual environment that might be useful to you (for example, if you want to put pandas in every new virtual environment you create, virtualenvwrapper will give you a hook to implement that).
Am I the only one who had problems with undo and redo in Jupyter? It completely messed up my code. I tried to use it as an IDE. Now I don't trust it anymore. It seems to happen when you paste code in the editor. Then it loses track where you were.
You're not alone; it can be very confusing. First, from what I can tell, there are separate undo/redo systems for text (inside of a cell) and for cells (at the Jupyter level). I've found that undo works great at the cell level if you do it soon after deleting something, but then it gets tricky and/or confusing and/or messed up. Just a few days ago, while I was working on the code for Bamboo Weekly, I accidentally deleted a bunch of cells by pressing x. I used z to undo, and it undid some of the deletions, but not all of them. I think that this is because I did something between deleting and undoing, but I might be wrong. So... undo is great, but it's far from a panacea. And the fact that cells don't have to be edited or run in order makes it that much trickier.
I'm not sure; I'm not really a math person, and haven't ever used SageMath. I know that Jupyter has some integration with TeX/LaTeX, but I've never used it.
I like how efficient it is that by spending less than nine minutes on this video I now know the most important use cases of JupyterLab. Great video!
Glad it helped!
Glad I found you channel while exploring on how Jupyter launcher work. I like your way of explaining things so subscribed immediately and will look forward to your upcoming videos.
THANK YOU Reuben!
My pleasure, delighted to have you join me here!
sharing Kernels is a handy feature. I can create a Kernel in a notebook, share it in a second notebook, and then again in a console.
I haven't ever tried sharing kernels -- thanks for telling me about this; it sounds very useful.
How do I change the blue panel tab to green so I can print my codes. The output for my codes are not displaying
I know that it's possible to change the color definitions, but I'm not sure how, I'm afraid.
how to activate gpu bro ?
How can documents be nested/included in JupyterLab, being updated when changed?
JupyterLab can handle folders, including sub-folders. So you can put documents, including notebooks, inside of those folders.
@@ReuvenLerner Yes, well, I mean "include" (=call/embed/encapsulate) an external/underlying file (e.g. .md, .tex, etc.) into a cell of a new document, which will be automatically uptated when the content of the underlying file changes ...
@@kisho2679 Oh, I don't think that's possible. (Maybe I'm wrong, though!) Instead, you'll probably want/need to write a bunch of code in a Python module and then import that module into your notebook.
Great video. Is there a way to have a custom dark theme; not the one that comes with Jupyter lab?
I think that you can indeed define your own themes (dark, light, or anything you want), but I've never done so myself. I found a GitHub repo (github.com/dunovank/jupyter-themes) that seems to have a bunch of them, and which will probably give you some inspiration for how to do your own.
@@ReuvenLerner Many thanks for the feedback.
I'm new here. So every time I want to open JupyterLab, I will have to go to Cmd to launch it?
I'm sure that there are graphical launchers, but I'm' a command-line kind of guy, so I haven't ever used them. Sorry!
Thanks for the great video! I'm curious as to why I'd want to open a new launcher when every new notebook I create in the same launcher has a different kernel...
I think the launcher is just a way to start new notebooks, consoles, etc. Each of those still has its own kernel.
Hi Reuven! How do you manage your python virtual environments?
I tried to keep my base python environment clean and install all other packages in virtual environment. (vscode)
But this is really not user friendly😟 Could you share your solution with us? Thank you.
I have to sheepishly admit that I'm usually teaching, and don't need venvs when I'm doing that. So Jupyter + venvs isn't something I personally need to deal with much. That said, this is a great topic suggestion, and I know that there are a bunch of good solutions out there. Let me see what I can dig up, and I'll try to do a video about that down the road!
Vscode makes it pretty user friendly to select the version of python you want to use -- click on the name of the current python interpreter on the bottom of the window (in the status area) and then navigate to the python virtual environment you want to use. Is creating the virtual environment itself the issue? Creating and tearing down virtual environments is pretty routine once you've been developing in python for a while, but there is a tool called "virtualenvwrapper" that you can use to bundle up commands you want to run every time you create a new virtual environment that might be useful to you (for example, if you want to put pandas in every new virtual environment you create, virtualenvwrapper will give you a hook to implement that).
@@tenaj524 Good point! I always forget how much of this functionality VSCode includes. Thanks for sharing!
Am I the only one who had problems with undo and redo in Jupyter? It completely messed up my code. I tried to use it as an IDE. Now I don't trust it anymore. It seems to happen when you paste code in the editor. Then it loses track where you were.
You're not alone; it can be very confusing. First, from what I can tell, there are separate undo/redo systems for text (inside of a cell) and for cells (at the Jupyter level). I've found that undo works great at the cell level if you do it soon after deleting something, but then it gets tricky and/or confusing and/or messed up. Just a few days ago, while I was working on the code for Bamboo Weekly, I accidentally deleted a bunch of cells by pressing x. I used z to undo, and it undid some of the deletions, but not all of them. I think that this is because I did something between deleting and undoing, but I might be wrong.
So... undo is great, but it's far from a panacea. And the fact that cells don't have to be edited or run in order makes it that much trickier.
does it have integrated "SageMath"?
I'm not sure; I'm not really a math person, and haven't ever used SageMath. I know that Jupyter has some integration with TeX/LaTeX, but I've never used it.
Will they add ChatGPT ?
They're not going to add it into Jupyter or JupyterLab, but there are Python modules you can use to connect, if/when you want.
How about mars-lab
Ha!
I don't get what I want, but you not bad speaker.
thanks
Thanks... I guess...
I can see how it's different, but I'm not sure that it's better.
Since the new version of Jupyter notebook came out, I think that the advantages (for people like me, at least) have largely melted away.