Live data from Hacker News

Why Jupyter is data scientists’ computational notebook of choice

nature.com

11–20 of 308 posts

Re: Why Jupyter is data scientists’ computational notebook of choice

#11
For people who prefer to code in JS. There is a similar application called observable notebooks that has recently come out: https://beta.observablehq.com/

It offers some nifty things including, well, observables where cells of the scratchpad can automatically update by observing changes from other cells.

Re: Why Jupyter is data scientists’ computational notebook of choice

#14
I like R for many things, but Python just keeps getting more compelling, particularly given the excellent machine learning packages. As these sorts of toolchain elements get better and better, and as more people realize that there's a benefit to simultaneously training researchers to run code as well as stats, I suspect we'll start to see an exodus from pure R solutions.

The real question is when (and whether) new social scientist stats courses will start teaching Python stats toolchains, rather than R. That seemed to be an inflection point for R (as folks moved away from SAS), and could be for stats-centric Python too.

Re: Why Jupyter is data scientists’ computational notebook of choice

#15

I recently got a Jupyter Notebook, and found it's a large JSON document, with some sections in markdown and some in Python. A browser could omit the Python, and an interpreter could omit the markdown. Would this work for other languages? Maybe JavaScript or Powershell instead of Python?

Jupyter = Julia + Python + R

Re: Why Jupyter is data scientists’ computational notebook of choice

#16
post #3

I've switched largely to Jupyter / Python for computational linguistics / psycholinguistics because of the pandas / numpy /numba stack, decent off-the-shelf NLP (spacy and gensim), and the ease of moving data into an R kernel for specific analyses and plots. Also nice that any reasonably sized notebook will render on GitHub (and access can be controlled through the accounts system, until something is ready to be publ…

Having NLTK and SciKitLearn in the same environment as my stats tools is... tantalizing. And if I could write Markdown-to-TeX docs straight from Jupyter, rather than the R -> TeX tables/variables read into LaTeX I'd used before, that'd be a massive win.

Re: Why Jupyter is data scientists’ computational notebook of choice

#17
post #4

What was the earliest of these tools? Mathcad? Mathematica? Maple?

I don’t know, but I found this: https://patents.google.com/patent/US8407580

Also: https://www.theatlantic.com/science/archive/2018/04/the-scie...

“The notebook interface was the brainchild of Theodore Gray, who was inspired while working with an old Apple code editor. Where most programming environments either had you run code one line at a time, or all at once as a big blob, the Apple editor let you highlight any part of your code and run just that part. Gray brought the same basic concept to Mathematica, with help refining the design from none other than Steve Jobs.”

Re: Why Jupyter is data scientists’ computational notebook of choice

#19
post #6

Link to the deck by Joel Grus' talk that is mentioned in the article: https://docs.google.com/presentation/d/1n2RlMdmv1p25Xy5thJUh...

Really good talk. Here's the video: https://www.youtube.com/watch?v=7jiPeIFXb6U

And all JupyterCon 2018 talks if anyone is interested: https://www.youtube.com/playlist?list=PL055Epbe6d5b572IRmYAH...

Re: Why Jupyter is data scientists’ computational notebook of choice

#20

RStudio with using Rmarkdown is also popular. Both workflows are language agnostic.

Of note--while Rmarkdown's python support used to be pretty bad, the most recent Rstudio uses the package reticulate behind the scenes, and it works really well!

It's easy to share data between the R and python session, and calling python from R, or R from python is straightforward.

Post reply on HN