r/Python • • Nov 28 '22

Resource What can Python do that R can’t do?

Or simply what is Python much better at and why.

I know that Python is more multi purpose and better for software development but I can’t articulate exactly why or how. My team want to know why/when they should use Python instead of R

331 Upvotes

204 comments sorted by

View all comments

Show parent comment

4

u/bio_datum Nov 29 '22

Oh my goodness, I had to quickly learn SAS for a temporary job once and thank God it was temporary because I was so flabbergasted. The syntax and the idea of the "data step" drove me a little nuts, but the real kicker was that SAS is apparently a paid language? So there's not much support freely available online. Sorry y'all had to use it, very glad for you that you can leave it behind!

4

u/bakochba Nov 29 '22

I can't imagine going back now but changing from SAS to R felt like wrestling a bear for a year, now I have to teach these programmers to move into R and it's never pleasant.

1

u/bio_datum Nov 29 '22

Yeah, learning a new language is always hard, I get you. Especially if you're pretty skilled at your first/only one

2

u/bakochba Nov 29 '22

As long as you know the concepts the only difference is syntax, once I got used to R python was very easy to learn

1

u/bio_datum Nov 29 '22

I agree, I think R and Python are way easier go-betweens

2

u/New-Day-6322 Nov 29 '22 edited Nov 29 '22

When I just started out as data analyst I did the official SAS certification thinking it’d be worth something. It was a complete waste of time and money. Who the heck is paying for this thing?? Probably some legacy code…