Live data from Hacker News

Jupyter Notebook 7

blog.jupyter.org

31–40 of 118 posts

Re: Jupyter Notebook 7

#31
post #9
post #4

> Both Jupyter Notebook and JupyterLab are widely used across data science, machine learning, computational research, and education. Are they though? Does anyone actually use JupyterLab by choice? From what I've seen people love Jupyter Notebook but find JupyterLab misses the mark (and this is certainly my experience).

The couple of times I experimented with jupyter ecosystem, it was only through labs. I thought notebook is the barebones app and labs is the more integrated ide like approach. But still for some reason didn't stick with it. Would you mind sharing the areas where you feel lab falls short and where notebook does it better? I want to give notebooks a try.

If there isn't jupyterlab, I will just stick with google colab. Same notebook but lightyears better inplementation. You can tab to autocomplete code off the shelf in colab.

Re: Jupyter Notebook 7

#32
post #12

I have never understood the appeal of this. You can generate good looking presentations, but that is all. Is any real science done with this or is it the Powerpoint for PyCon talks?

I was extremely stubborn when I started out in python. Built a script for everything. Jupyter is messy. But once I started using it I never went back for data analysis tasks.

Say you have a large file you want to read into memory. That’s step 1, it takes a long time to parse that big json file they sent you. Then you want to check something about that data, maybe sum one of the columns. That’s step 2. Then you realize you want to average another column. Step 3.

If you write a basic python script, you have to run step 1 and 2 sequentially, then once you realize you want step 3 as well, you need to run 1, 2 and 3 sequentially. It quickly becomes much more convenient to have the file in memory.

Re: Jupyter Notebook 7

#33
post #21
post #12

I have never understood the appeal of this. You can generate good looking presentations, but that is all. Is any real science done with this or is it the Powerpoint for PyCon talks?

Curious what other approach you would take to do exploratory data analysis? It's so natural to me I can't think of another way that would be practical to achieve the same workflow.

Handcrafted machine code in punch hole cards.

Interactive environment without compile nonsense is just too new for folks.

Re: Jupyter Notebook 7

#34
post #4

> Both Jupyter Notebook and JupyterLab are widely used across data science, machine learning, computational research, and education. Are they though? Does anyone actually use JupyterLab by choice? From what I've seen people love Jupyter Notebook but find JupyterLab misses the mark (and this is certainly my experience).

I am confused. Isn't Jupyter Lab the same as Jupyter Notebook but also with a file chooser and some extra functions? I don't care a lot which one I'm choosing. I always open Jupyter Lab because it has some very small neat additions. Why would I want to want to use Jupyter Notebook without the Lab interface around it?

Re: Jupyter Notebook 7

#35
post #12

I have never understood the appeal of this. You can generate good looking presentations, but that is all. Is any real science done with this or is it the Powerpoint for PyCon talks?

Like everything else in the Python ecosystem, it's half-baked and not composable. People use it for two reasons: a) because they need to get those graphs on the screen and this is the only way b) running ML code on a remote, beefier server.

Neither of those use cases are exclusive to jupyter. You can run scripts on remote machines quite easily, and matplotlib will happily pop up a window for your charts.

The real reason is because it’s a much better workflow for data exploration and manipulation because you don’t always know exactly what code to write before you do it. So having the data in memory is really useful.

Re: Jupyter Notebook 7

#36
post #4

> Both Jupyter Notebook and JupyterLab are widely used across data science, machine learning, computational research, and education. Are they though? Does anyone actually use JupyterLab by choice? From what I've seen people love Jupyter Notebook but find JupyterLab misses the mark (and this is certainly my experience).

jupyterlab is a lot more popular than notebook in my workplace.

There is literally no downside to using it over notebook, why would you prefer notebook at all?

the file browsers, the terminal, the plugins, ... so much better

Re: Jupyter Notebook 7

#37
post #36
post #4

> Both Jupyter Notebook and JupyterLab are widely used across data science, machine learning, computational research, and education. Are they though? Does anyone actually use JupyterLab by choice? From what I've seen people love Jupyter Notebook but find JupyterLab misses the mark (and this is certainly my experience).

jupyterlab is a lot more popular than notebook in my workplace. There is literally no downside to using it over notebook, why would you prefer notebook at all? the file browsers, the terminal, the plugins, ... so much better

I uses nteract aside jupyter notebook for a while because I simply wanted a thing where you doubleclick a ipynb and it opens it up, without a lot of tabs, clutter and such. Back then jupyter notebooks were still somewhat cumbersome and had a very slow startup time.

Re: Jupyter Notebook 7

#38

I thought Notebook is getting deprecated. What is the difference between Jupyter Lab and Jupyter Notebook ? Are these developed by two completely different teams? Why maintain two code bases?

The point here is that they've unified the codebases. The application "Jupyter Notebook" is just a single-document version of "JupyterLab", designed to just do that one part of Lab. Previously there was "Jupyter Notebook". Then they separately wrote JupyterLab (creating a brand new implementation of notebooks for it). Now, they're taken the JupyterLab notebook code and used it to replace "Jupyter Notebook".

Thanks for explanation. I still don't get what is the motivation to keep Jupyter Notebook going. Is it different feature wise? Or it's just a chrome over JupyterLab because people like the retro look of Jupyter Notebook?

Re: Jupyter Notebook 7

#39
post #24
post #12

I have never understood the appeal of this. You can generate good looking presentations, but that is all. Is any real science done with this or is it the Powerpoint for PyCon talks?

Not sure about "real science" but it's very convenient for our students. We usually setup a notebook per group for ML-related group projects on our GPU server and also set up notebooks for thesis work etc. Advantages...no setup on the students side (+they get reliable compute remotely) and we can prepare notebooks highlighting certain concepts. Text cells are usefull for explaining stuff so they can work through some…

I’m a “real scientist”. Notebooks are a widely used to run analysis in my field (bioinformatics) where you explore data interactively.

I personally prefer when people share code as notebooks because you have code alongside the results. It’s really a good practice to use Jupyter.

Post reply on HN