Live data from Hacker News

Jupyter Notebook 7

blog.jupyter.org

81–90 of 118 posts

Re: Jupyter Notebook 7

#81
post #28

Earlier quoted context omitted.

I primarily use Jupyter Lab. I have some frustrations but I generally like being able to manage multiple kernels from one notebook, having multiple views into one notebook, having context-sensitive help, and having some of the other features that were only in Lab. That being said, I'm glad they've switched course and continue to work on Notebook once it became clear some people preferred it to Lab. With some of the a…

What is the usecase you have for multiple kernels in one notebook?

It's not using multiple kernels in one notebook, but being able to manage all my kernels without opening up another window.

Re: Jupyter Notebook 7

#82

I thought Jupyter Notebook has been superseded by Jupyter Lab. What reason is there to prefer Jupyter Notebook over Jupyter Lab?

For me, less distracting and confusing visual clutter on the screen. Also, the pane showing the file hierarchy is redundant with the file explorer that the OS already provides. But either way, not having to use an IDE is a blessing. Especially on a 14" touch screen laptop. Note that I'm probably a freak, lots of my friends love their IDE's, but having having something that works for my particular brain and my eyeball…

You describe the use case for vim, not notebook. Use vim and jupyterlab. It makes working on several projects much smoother.

Re: Jupyter Notebook 7

#83

Earlier quoted context omitted.

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.

X forwarding through a terminal session to view that matplotlib plot is a bit more work than most want to deal with. Sure, you can use ranger, and set up the image viewing with uzerbeurg? or something? and set up kitty with icat, but that doesn't work with your tmux, so you have to have a separate ssh window that's not tmux'd, which is annoying and clunky, just for viewing images. You also have to save them, and then switch to view them, which is incredibly clunky.

Or you just use jupyterlab and the problem is fixed.

Re: Jupyter Notebook 7

#84
post #21

Earlier quoted context omitted.

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.

We have a lot of scientists using Rstudio. It’s not quite the same but you can do it. It lets you view your data frames like a spread sheet and generate graphs. It’s R and I get that Jupiter supports R but it’s always has some issue with some dependency.

Ew.

R.

No thank you.

Re: Jupyter Notebook 7

#85
I am new to the Jupyter ecosystem. Can anyone point me to resources that allow me to generate PDF reports from Jupyter Notebooks?

I want to build a template notebook, that has internal code to fetch data from a database, based on command line arguments and then run the notebook and then strip all the code parts and generate a beautiful PDF document.

Re: Jupyter Notebook 7

#86

I am new to the Jupyter ecosystem. Can anyone point me to resources that allow me to generate PDF reports from Jupyter Notebooks? I want to build a template notebook, that has internal code to fetch data from a database, based on command line arguments and then run the notebook and then strip all the code parts and generate a beautiful PDF document.

Maybe via an extension?

https://saturncloud.io/blog/how-to-hide-code-in-jupyter-note...

Re: Jupyter Notebook 7

#87
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 performed all the data preparation, computation, and image generation for an interactive data visualization website in Jupyter

https://income-inequality.info/

All the processing is documented with Jupyter notebooks, allowing anyone to spot mistakes, or replicate the visualizations with newer data in the future:

https://github.com/whyboris/Global-Income-Distribution

Re: Jupyter Notebook 7

#88

I am new to the Jupyter ecosystem. Can anyone point me to resources that allow me to generate PDF reports from Jupyter Notebooks? I want to build a template notebook, that has internal code to fetch data from a database, based on command line arguments and then run the notebook and then strip all the code parts and generate a beautiful PDF document.

Jupyter nbconvert should do it for you- https://nbconvert.readthedocs.io/en/latest/

Re: Jupyter Notebook 7

#89
post #47

Man Open Source software should not post announcements like this using a blogging platform that nags you to pay to view posts. Like it's possible to dismiss the prompt and view the post (for now at least) but something about that definitely feels off.

You mean the tiny little 20px banner at the top? Hardly an issue IMO. Medium has a pretty sustainable, but different than most blogging platforms, business model.

Re: Jupyter Notebook 7

#90
post #47

Man Open Source software should not post announcements like this using a blogging platform that nags you to pay to view posts. Like it's possible to dismiss the prompt and view the post (for now at least) but something about that definitely feels off.

You mean the tiny little 20px banner at the top? Hardly an issue IMO. Medium has a pretty sustainable, but different than most blogging platforms, business model.

No, the 50% of my whole window overlay from the bottom.
Post reply on HN