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

Поділитися
Вставка
  • Опубліковано 5 вер 2024

КОМЕНТАРІ • 29

  • @stronglycorrelated
    @stronglycorrelated Рік тому +11

    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!

  • @agermoune
    @agermoune Рік тому +1

    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!

  • @rje4242
    @rje4242 Рік тому +2

    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.

  • @arwaabougharib8698
    @arwaabougharib8698 4 місяці тому +1

    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  4 місяці тому

      I think the launcher is just a way to start new notebooks, consoles, etc. Each of those still has its own kernel.

  • @richardayensu1711
    @richardayensu1711 5 місяців тому +1

    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  5 місяців тому

      I know that it's possible to change the color definitions, but I'm not sure how, I'm afraid.

  • @kisho2679
    @kisho2679 2 місяці тому +1

    How can documents be nested/included in JupyterLab, being updated when changed?

    • @ReuvenLerner
      @ReuvenLerner  2 місяці тому

      JupyterLab can handle folders, including sub-folders. So you can put documents, including notebooks, inside of those folders.

    • @kisho2679
      @kisho2679 2 місяці тому +1

      @@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  2 місяці тому

      @@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.

  • @kisho2679
    @kisho2679 Місяць тому +1

    does it have integrated "SageMath"?

    • @ReuvenLerner
      @ReuvenLerner  Місяць тому

      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.

  • @jameslovering9158
    @jameslovering9158 5 місяців тому +1

    Will they add ChatGPT ?

    • @ReuvenLerner
      @ReuvenLerner  5 місяців тому

      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.

  • @amenmechlaoui8717
    @amenmechlaoui8717 3 дні тому

    how to activate gpu bro ?

  • @user-cj4en3mt9l
    @user-cj4en3mt9l 9 місяців тому +1

    I don't get what I want, but you not bad speaker.
    thanks

  • @successorantigha9466
    @successorantigha9466 Рік тому +2

    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!

  • @saifullahshaikh8873
    @saifullahshaikh8873 9 місяців тому +1

    I can see how it's different, but I'm not sure that it's better.

    • @ReuvenLerner
      @ReuvenLerner  9 місяців тому +1

      Since the new version of Jupyter notebook came out, I think that the advantages (for people like me, at least) have largely melted away.

  • @mr.goldenball333
    @mr.goldenball333 Рік тому +1

    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  Рік тому +3

      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  Рік тому

      @@tenaj524 Good point! I always forget how much of this functionality VSCode includes. Thanks for sharing!