News for hackers. Stuff that matters.
Re:R Passes SAS, but Python Leaves Them Both Behind by rm999 on Sunday March 05, 2017 @12:53PM (#13797264)
I'm glad to see the quick convergence on Python. I've evaluated Python every ~2 years since 2006 for "data science" tasks (machine learning, statistics, data munging, and visualization). I'd argue that Python only properly covered this full data science stack 1.5-2 years ago. R covered this stack adequately probably around 2011-2012. Matlab had this before 2005.

What makes Python a superior language to Matlab and R is the ease of software development. It's an easy, pleasant language to work in, and I trust it for production tasks (I've written production R code and it's fairly hard to read and fragile).

What's even better is data science is moving 100% into Python 3 (from 2) by 2020:

http://www.python3statement.org/

Re:R Passes SAS, but Python Leaves Them Both Behind by fnord123 on Sunday March 05, 2017 @01:16PM (#13797447)
If you work in a team mixing data engineers and data scientists then python has been a superior choice for a decade as the different team members are all using the same language to build the platform and to use it.

We've had a lot of success weaning people of R and MATLAB in finance (so replace "data scientist" with "quant"). Of course if you work in a field that doesn't have the libraries and can't build them in house then your mileage will certainly vary.

Re:R Passes SAS, but Python Leaves Them Both Behind by rm999 on Sunday March 05, 2017 @03:50PM (#13798524)
This is a great point. Python has been a solid data engineer/pipeline language for years now. It makes it easy for data scientists and data engineers (or people who wear both hats) to work in the same environment and codebase.
Re:R Passes SAS, but Python Leaves Them Both Behind by est on Monday March 06, 2017 @12:11AM (#13800832)
The only area of un-touched by Python is web frontends and mobile apps.

Hope Web assembly would change that.

Re:R Passes SAS, but Python Leaves Them Both Behind by thearn4 on Sunday March 05, 2017 @05:22PM (#13799161)
Off-topic, but what is a "data engineer"?
Re:R Passes SAS, but Python Leaves Them Both Behind by nl on Sunday March 05, 2017 @11:47PM (#13800763)
In my team, "data engineer" refers to someone who deals with the ETL process, but also some feature engineering (ie, designing and extracting features. There's a lot of cross over here with the work Data Scientists do, but often the tools are different: for example, in the Python world the data engineer will use Pycharms while the data scientist will use Jupyter.
Re:R Passes SAS, but Python Leaves Them Both Behind by nerdponx on Sunday March 05, 2017 @05:34PM (#13799237)
I'm sure someone can come along with a better description, but it's kinda like devops/sysadmin but specifically for data storage and access.

You could also look it up...

Re:R Passes SAS, but Python Leaves Them Both Behind by sdenton4 on Sunday March 05, 2017 @11:26PM (#13800696)
At some point, people realized that 90% of data science work was building pipes and keeping them clean. And then data engineering was invented so that the data scientists wouldn't have to get their hands as dirty. :)
Re:R Passes SAS, but Python Leaves Them Both Behind by fnord123 on Monday March 06, 2017 @04:55AM (#13801695)
A snappier version which gives the flavour: Data scientists use {tensor flow, scikit-learn, parquet, hadoop, spark, scrapers, etc}. Data engineers write {tensor flow, scikit-learn, parquet, hadoop, spark, scrapers, etc}.
Re:R Passes SAS, but Python Leaves Them Both Behind by xapata on Sunday March 05, 2017 @09:24PM (#13800274)
I'd include database engineer in that bin. We used to call people DBAs but that seems a bit limiting now.
Re:R Passes SAS, but Python Leaves Them Both Behind by mehaveaccount on Sunday March 05, 2017 @06:49PM (#13799646)
That's a good description for a data engineer from my end.
Re:R Passes SAS, but Python Leaves Them Both Behind by Alex3917 on Sunday March 05, 2017 @01:33PM (#13797584)
> What makes Python a superior language to Matlab and R is the ease of software development.

In practice I think the trends we're seeing have more to do with the fact that most universities now teach CS and data science using Python.

Given that Python is approximately as good as R, and it's becoming increasingly much easier to find good people to hire, there's very little reason not to be a Python shop.

Re:R Passes SAS, but Python Leaves Them Both Behind by nerdponx on Sunday March 05, 2017 @08:15PM (#13800025)
That, and people started transitioning into data science from other fields where Python was already more popular.
Re:R Passes SAS, but Python Leaves Them Both Behind by CloudYeller on Sunday March 05, 2017 @03:07PM (#13798223)
Another reason why I'm glad python is winning (and a fun read):

http://arrgh.tim-smith.us/

Re:R Passes SAS, but Python Leaves Them Both Behind by shanusmagnus on Sunday March 05, 2017 @04:08PM (#13798647)
Love!

"R is a shockingly dreadful language for an exceptionally useful data analysis environment. The more you learn about the R language, the worse it will feel. The development environment suffers from literally decades of accretion of stupid hacks from a community containing, to a first-order approximation, zero software engineers."

Yup.

Re:R Passes SAS, but Python Leaves Them Both Behind by charles-salvia on Sunday March 05, 2017 @09:39PM (#13800328)
The first time I tried to read R code I was immediately disgusted with how '.' is a valid variable name character. Not only valid, but inexplicably also in common use.
Re:R Passes SAS, but Python Leaves Them Both Behind by gone35 on Sunday March 05, 2017 @10:22PM (#13800455)
That's in part because, unaccountably, '_' denotes assignment in S.
Re:R Passes SAS, but Python Leaves Them Both Behind by yuubi on Monday March 06, 2017 @09:27PM (#13807835)
> unaccountably

Maybe because in ASCII-63 the _ codepoint meant left-arrow (which was preserved in at least smalltalk systems much past the 60s)?

Re:R Passes SAS, but Python Leaves Them Both Behind by shanusmagnus on Tuesday March 07, 2017 @05:08PM (#13815511)
My theory is that they might have been trying to protest against the non-mathematical theft of = (equality) to mean assignment, as = is used in most other languages. (Not that that's an excuse for violating the shit out of the Principle of Least Surprise in a trillion different ways.)
Re:R Passes SAS, but Python Leaves Them Both Behind by makeset on Monday March 06, 2017 @01:00AM (#13800953)
It's immature to rail on R for things like how its syntax doesn't look like that other language you already know, but yes, it's extremely quirky. And its unchecked flexibility, while great for experts providing DSLs and such, enables non-programmers to produce garbage implementations. The vast majority of R's myriad community packages (R's biggest strength!) seem to be written by a grad student who read half a tutorial.
Re:R Passes SAS, but Python Leaves Them Both Behind by nerdponx on Sunday March 05, 2017 @12:58PM (#13797304)
How do you feel about Julia? Data analysis in Python has plenty of warts.
Re:R Passes SAS, but Python Leaves Them Both Behind by acmj on Sunday March 05, 2017 @01:15PM (#13797438)
Julia is great, but IMO, it needs to reach 1.0 first before making a splash. It would be frustrating if you found your tools developed on v0.4 stopped working on v0.5 released a year later. API/ABI stability is critical to the adoption of new programming languages/libraries.
Re:R Passes SAS, but Python Leaves Them Both Behind by Buttons840 on Sunday March 05, 2017 @01:48PM (#13797696)
I've heard they plan to release Julia 1.0 this year. So keep an eye on it.
Re:R Passes SAS, but Python Leaves Them Both Behind by acmj on Sunday March 05, 2017 @01:55PM (#13797750)
Yeah, I heard about it from others, too. Look forward to it. Hope the dev team stick to the plan.
Re:R Passes SAS, but Python Leaves Them Both Behind by tnecniv on Sunday March 05, 2017 @05:03PM (#13799037)
Rumor is it's going to be this summer at the annual conference.
Re:R Passes SAS, but Python Leaves Them Both Behind by fnord123 on Monday March 06, 2017 @05:00AM (#13801712)
Re:R Passes SAS, but Python Leaves Them Both Behind by roystonvassey on Monday March 06, 2017 @04:25AM (#13801600)
+ The versatility of Python. It is one of the "funnest" languages to work with because I'm always surprised by the number and variety of packages available to do all kinds of tasks.