What I learned from learning Data Science with R and Python during this quarantine

I concluded that Python sucks for data wrangling and visualization. Oh boy, where do I start? Maybe my usual venting that python's integer starts from zero? or pandas syntax is pretty much like the worse version of base R? The only thing why I invested my time learning python is, because it's simply popular and pretty much used everywhere. However if I have to recommend whether you should start your data science journey: pick R.

The experience of data wrangling with dplyr is much better and intuitive and it's capable for machine learning too. The only catch? R is considered as a niche language and mostly used by academics. I didn't learn R during my grad school (which I think, was surprising because Hadley Wickham, the founder of R studio was from new zealand), however I picked R last year and have been using it for almost daily basis to the point I am confident I have an intermediate skills in R.

EXbWK1zXYAEZ3_Q


One thing I haven't explored in R though: creating maps and making web-based apps (you can use shiny for that). It's just that I am also fairly proficient in Power BI and I could just create a dashboard with power BI whenever necessary. Shiny requires me to learn a skill of being a web developer which I am not really interested in.

At the moment I am still on my progress completing my Python machine learning course . So far I already finished simple linear regression, multiple linear regression, polynomial regression, and support vector regression. Before I continue further, I think I want to understand how to apply the last two in real-life scenarios. Since I am learning ML in python, honestly, the experience is less pleasant, but I force myself to focus myself in python to ensure I maintain my python proficiency, given that 80% of time I code with R.

Comments

Is this post just an advert?

There's many computer languages that are popular and python is one of the easy ones which works just fine for most people and it works fine across various platforms. Although I would recommend people learn some c or c++ as well.
 
  • Like
Reactions: 1 person
@mrdude this is a counter propaganda to make people learn R instead of python for data science✊

BTW I am not really a STEM graduate though, how hard is C/c++ compared to python? Here I thought they are more popular to write games.
 
Go into the weeds with C and C++ and it will be crazy hard (some of the really arcane parts of C++ do wonderful things but you really have to be invested in the concept), and even more so if you choose go to into complex fields (say security/cryptography, 3d modelling or the like). If you just want something to use for what most people use python for then not so bad, probably harder if you were going in cold but if you have some idea of programming thanks to python then have fun with the pointers. Likewise you will probably get data thrown at you in C structs at some point as either a poor man's database or a description of a binary format ( https://web.archive.org/web/20080324141531/http://kiwi.ds.googlepages.com/sdat.html is for the DS sound format but actually a good example) so if you have at least met them before that will probably be good.
If python is the glue that holds computing together then C and C++ are the rigid steel framework modern computing is built upon.


On integers starting at 0. That is pretty common in most things, and makes a lot of maths quite a bit easier. Also where do your graphs usually start?

On R vs Python for a newcomer, even a data science type, I still say Python. R is wonderful and should be learned but if you can't interact with normal programmers or normal person that learned programming you are going nowhere fast. I might also throw in a database language (postgre is the thinking man's choice but mysql is common enough that I can't ignore it) before R is properly learned but that I could stand to debate first.
 
  • Like
Reactions: 1 person

Blog entry information

Author
eriol33
Views
163
Comments
6
Last update

More entries in Personal Blogs

More entries from eriol33

Share this entry

General chit-chat
Help Users
  • RedColoredStars @ RedColoredStars:
    Liking Windows or not is an opinion. Yes.
  • RedColoredStars @ RedColoredStars:
    Being able to disable copilot is not an opinion. lol. its a fact that it can be disabled.
  • RedColoredStars @ RedColoredStars:
    Yet you just laugh about it when I tell you, like Im lying
  • RedColoredStars @ RedColoredStars:
    People can dislike Windows all they want. But I will call out the over-exaggerations, misconceptions, half truths, and lies about it.
    +2
  • RedColoredStars @ RedColoredStars:
    Tired of the entire "BUT BUT BUT WINDOWZ SPYWARE!!!" thing too, when the same people give out tons of their personal info to plenty of other companies but say nothing about it.
    +2
  • SylverReZ @ SylverReZ:
    @RedColoredStars, Companies do the exact same thing with other companies as well, so it's not just Microsoft. There are 3rd-parties like 'data brokers'.
  • RedColoredStars @ RedColoredStars:
    I'm 52 years old and one of my jobs in life was marketing research. Im well aware. I've been online for around 30 years. Everyone and their grandmother already has my personal information. One more having my email address isn't ruining my life or even effecting me in any way whatsoever.
    +1
  • RedColoredStars @ RedColoredStars:
    In fact. I freely give info. Stuff like gasoline apps, to save $, grocery apps, lots of cash back from rakuten, etc. etc.
    +1
  • RedColoredStars @ RedColoredStars:
    $300 back last year from Rakuten for allowing them to track my purchase. I'll take the money for them to know I bought a bunch of stuff for my cat and some video games. lol
  • K3Nv2 @ K3Nv2:
    No matter what you sign up for your info is out there
    +1
  • RedColoredStars @ RedColoredStars:
    Thats what im saying
  • SylverReZ @ SylverReZ:
    @K3Nv2, Exactly.
  • RedColoredStars @ RedColoredStars:
    And for people to say things like "But I use all fake info". No, they don't. lol. They use fake info for all of their banking and online shopping? Fake shipping address, fake payment info? lol
  • RedColoredStars @ RedColoredStars:
    Fake name, address and payment info for internet service, etc? lol. Ill say it again. Everyone freaks out about OMG WINDOWS!! But crickets on anything else they do.
  • RedColoredStars @ RedColoredStars:
    Other windows stuff people complain about hypocritically too. Like "But but but Windows bundle junk apps!!!!" Yeah?? So do many Linux distributions. Dont like it? Use one without them. Same with windows. Either find a pre-made version without the bundled stuff, or very easily make your own installer with what you want and do not want.
    +1
  • console @ console:
    I agree with all above! Microsoft made a biggest mess with us and everyone! I wish Microsoft company should be fired then lost it. LOL :rofl2:
    +1
  • RedColoredStars @ RedColoredStars:
    I dont like the stuff added either. I have zero use for copilot or recall. But I also just simply disable it and move on.
    +2
  • RedColoredStars @ RedColoredStars:
    Always disabled dumb cortana from day 1 too.
    +2
  • K3Nv2 @ K3Nv2:
    When you're a billion dollar company even upper management is just peons to the company
    +1
  • RedColoredStars @ RedColoredStars:
    MS is funny. Insider programs for both Windows and Xbox, where they listen to absolutely none of the insider feedback and just do what the fuck they want. lolol
    +1
  • K3Nv2 @ K3Nv2:
    Xbox idea to make midrange consoles saved them this Gen and buying your wife
  • SylverReZ @ SylverReZ:
    The Xbox is dying already. I don't know what to say, Microsoft takes the L for that one.
  • K3Nv2 @ K3Nv2:
    How is the Xbox dying?
  • K3Nv2 @ K3Nv2:
    Xbox one sold nearly 60 million units
    K3Nv2 @ K3Nv2: Xbox one sold nearly 60 million units