Live data from Hacker News

Jupyter Notebook 7

blog.jupyter.org

41–50 of 118 posts

Re: Jupyter Notebook 7

#41
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.

emacs org mode can do this but is not tied to just python. Anyway, something like this works:

  #+BEGIN_SRC python :results file
  import matplotlib
  matplotlib.use('Agg')
  import matplotlib.pyplot as plt
  fn = 'my_fig.png'
  plt.plot([1, 2, 3, 2.5, 2.8])
  plt.savefig('my_fig.png', dpi=50)
  return fn
  #+END_SRC

  #+RESULTS:
  [[file:my_fig.png]]

Re: Jupyter Notebook 7

#42

My problem with vanilla jupyter notebook is that they hide every settings from you. Look at those 4:3 ratio dead zones on two sides, who would have thought that you can edit the css or javascript preference to increase your screen real estate? People told me to use extensions but none of them really actually work, including the installation process.

It's a fair point, but it's hardly unique to Jupyter. In fact, while 99% of websites suffer from this problem, I think it's unfair to highlight it specifically wrt Jupyter. Heck, even the site we're on right now does a poor combination of uncomfortably-long lines AND unused left and right margins.

Re: Jupyter Notebook 7

#43
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 use it all the time for aoftware development. E.g. when I write DSP code for audio it acts as a mixture of documentation and the actual math with graphs to visualize what I do.

That is why jupyter lab is not the wrong name, it is a bit like a lab. Not meant for production use, but very good for exploring solutions.

Re: Jupyter Notebook 7

#44
post #10
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've long switched to Emacs/Org, but used JupyterLab extensively before (as a data scientist). It's way more powerful than vanilla notebooks since you can open notebooks/code/related side-by-side, easier to extend (with lab extensions), etc. I always thought people only still used vanilla notebooks because that's what people say they use, e.g. "I work with Jupyter notebooks" (even though that may well be in JupyterLa…

I have used org-mode/babel as a notebook replacement, and obviously the flexibility and the editing capabilities are vastly superior to Jupyter notebook, but I fund it sluggish. I assume that, at least in my setup (using babel-python), the kernel is invoked synchronously. I also didn't try to get any form of completion working, but it should be possible and it would be nice to have.

What is your setup?

Re: Jupyter Notebook 7

#45
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.

What would a "composable" experience look like?

Re: Jupyter Notebook 7

#46
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).

[deleted]

Re: Jupyter Notebook 7

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

Re: Jupyter Notebook 7

#48
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?

It’s literally the same except Lab has a file picker, but it’s a meme for some people to pretend Lab is some sort of disaster.

Re: Jupyter Notebook 7

#49
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?

If it was the same but in LISP with horribly mapped keys and used by nobody you guys would be all over it.

Re: Jupyter Notebook 7

#50
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.

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.
Post reply on HN