First steps with Jupyter Lab: How is it different from the notebook?

  Рет қаралды 32,686

Python and Pandas with Reuven Lerner

Python and Pandas with Reuven Lerner

Күн бұрын

Пікірлер
@stronglycorrelated
@stronglycorrelated 2 жыл бұрын
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!
@ReuvenLerner
@ReuvenLerner 2 жыл бұрын
Glad it helped!
@LeakyFaucett
@LeakyFaucett Ай бұрын
Nice explanation Reuven. Looking forward to seeing more.
@ReuvenLerner
@ReuvenLerner Ай бұрын
Thanks for letting me know; I'm glad you enjoyed it!
@agermoune
@agermoune Жыл бұрын
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
@ReuvenLerner Жыл бұрын
My pleasure, delighted to have you join me here!
@richardayensu1711
@richardayensu1711 10 ай бұрын
How do I change the blue panel tab to green so I can print my codes. The output for my codes are not displaying
@ReuvenLerner
@ReuvenLerner 10 ай бұрын
I know that it's possible to change the color definitions, but I'm not sure how, I'm afraid.
@jameslovering9158
@jameslovering9158 10 ай бұрын
Will they add ChatGPT ?
@ReuvenLerner
@ReuvenLerner 10 ай бұрын
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.
@rje4242
@rje4242 Жыл бұрын
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.
@ReuvenLerner
@ReuvenLerner Жыл бұрын
I haven't ever tried sharing kernels -- thanks for telling me about this; it sounds very useful.
@kisho2679
@kisho2679 7 ай бұрын
How can documents be nested/included in JupyterLab, being updated when changed?
@ReuvenLerner
@ReuvenLerner 7 ай бұрын
JupyterLab can handle folders, including sub-folders. So you can put documents, including notebooks, inside of those folders.
@kisho2679
@kisho2679 7 ай бұрын
@@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 ...
@ReuvenLerner
@ReuvenLerner 7 ай бұрын
@@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.
@mazenalsakkaf
@mazenalsakkaf 4 ай бұрын
Great video. Is there a way to have a custom dark theme; not the one that comes with Jupyter lab?
@ReuvenLerner
@ReuvenLerner 4 ай бұрын
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.
@mazenalsakkaf
@mazenalsakkaf 4 ай бұрын
@@ReuvenLerner Many thanks for the feedback.
@kisho2679
@kisho2679 6 ай бұрын
does it have integrated "SageMath"?
@ReuvenLerner
@ReuvenLerner 6 ай бұрын
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.
@amenmechlaoui8717
@amenmechlaoui8717 5 ай бұрын
how to activate gpu bro ?
@successorantigha9466
@successorantigha9466 Жыл бұрын
I'm new here. So every time I want to open JupyterLab, I will have to go to Cmd to launch it?
@ReuvenLerner
@ReuvenLerner Жыл бұрын
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!
@arwaabougharib8698
@arwaabougharib8698 9 ай бұрын
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...
@ReuvenLerner
@ReuvenLerner 9 ай бұрын
I think the launcher is just a way to start new notebooks, consoles, etc. Each of those still has its own kernel.
@jerryhall5709
@jerryhall5709 4 ай бұрын
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.
@ReuvenLerner
@ReuvenLerner 4 ай бұрын
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.
@mr.goldenball333
@mr.goldenball333 2 жыл бұрын
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.
@ReuvenLerner
@ReuvenLerner 2 жыл бұрын
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!
@tenaj524
@tenaj524 2 жыл бұрын
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).
@ReuvenLerner
@ReuvenLerner 2 жыл бұрын
@@tenaj524 Good point! I always forget how much of this functionality VSCode includes. Thanks for sharing!
@stevenshrii
@stevenshrii 4 ай бұрын
How about mars-lab
@ReuvenLerner
@ReuvenLerner 4 ай бұрын
Ha!
@Top5animecrossovers
@Top5animecrossovers Жыл бұрын
I don't get what I want, but you not bad speaker. thanks
@ReuvenLerner
@ReuvenLerner Жыл бұрын
Thanks... I guess...
@saifullahshaikh8873
@saifullahshaikh8873 Жыл бұрын
I can see how it's different, but I'm not sure that it's better.
@ReuvenLerner
@ReuvenLerner Жыл бұрын
Since the new version of Jupyter notebook came out, I think that the advantages (for people like me, at least) have largely melted away.
The dreaded Jupyter * error - what it is, and how to fix it
9:23
Python and Pandas with Reuven Lerner
Рет қаралды 72 М.
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
Learn JupyterLab In 25 Minutes | Must Watch | 2023 (Complete Beginners)
25:58
Jupyter Notebooks vs Python Scripts | When to Use Which?
13:07
ArjanCodes
Рет қаралды 54 М.
Why I stopped using Jupyter Notebooks
11:17
Dave Ebbelaar
Рет қаралды 37 М.
Jupyter Lab is AWESOME For Data Science
14:12
NeuralNine
Рет қаралды 82 М.
Introduction to Jupyter Lab for Python
56:04
Cornell University Center for Advanced Computing
Рет қаралды 34 М.
7 Reasons Why I Love Jupyter Lab! | Data Science For The Developers
9:06
Why do I use Jupyter?
9:38
Python and Pandas with Reuven Lerner
Рет қаралды 2 М.
Основы Jupyter Notebook (Python)
33:32
PyLounge - программирование на Python и всё о IT
Рет қаралды 76 М.