> 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.
Jupyter Notebook 7
31–40 of 118 posts
Re: Jupyter Notebook 7
#32I 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?
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
#33I 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.
Interactive environment without compile nonsense is just too new for folks.
Re: Jupyter Notebook 7
#34> 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).
Re: Jupyter Notebook 7
#35I 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.
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> 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).
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> 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
#38I 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".
Re: Jupyter Notebook 7
#39I 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 personally prefer when people share code as notebooks because you have code alongside the results. It’s really a good practice to use Jupyter.