RvsPython #6: LinkedIn has spoken!

Introduction Over the past while with my time on LinkedIn, I got to have exposure to many people from many different lines of work. I also managed to have carved a space for myself there where I can post about Data Science topics and share my blogs along the way. There have always been posts… Continue reading RvsPython #6: LinkedIn has spoken!

RvsPython #5.1: Making the Game even with Python’s Best Practices

Well, it turns out that my last blog that R was over 220 times faster than Python got a lot of (constructive) criticism saying that I wasn’t using “best practices” with Python, which was why my Python code was so slow. This is a totally acceptable critique; thus, I’ve decided to write a follow up… Continue reading RvsPython #5.1: Making the Game even with Python’s Best Practices

RvsPython #5: Using Monte Carlo To Simulate π

Please note: This blog has got alot of criticism as to the lack of best practices being used in the Python code. I have written a follow up to this issue here. Let me know what you think! Introduction The number , while being an irrational and transcendental number is a central number to which… Continue reading RvsPython #5: Using Monte Carlo To Simulate π

RvsPython #4: A Basic Search on Amazon.ca using R and Python

This post was inspired by one of Thomas Neitmann’s posts showing how to write some debugging code in R and Python to automatically search code errors on StackOverflow. Below is a simpler example where we do this with Amazon’s site. In this blog we are going to write code that is as similar as possible… Continue reading RvsPython #4: A Basic Search on Amazon.ca using R and Python

RvsPython #3: Setting up Selenium (Limitations with the RSelenium package; getting past them)

Selenium is a powerful library available for both Python and R (the R version is called RSelenium) which can automate tasks such as form filling, job applications, CRM system administration and many other tasks. That being said Selenium can be used as well to do a lot of harm such as filling up forms with… Continue reading RvsPython #3: Setting up Selenium (Limitations with the RSelenium package; getting past them)

RvsPython #2: Pivoting Data From Long to Wide Form

Note: This is an older post originally written as a LinkedIn article I wrote in late May. I have added information about shaping data thanks to Casper Crause using the data.table library. You can see our original correspondence in the comments there (for now) If you dabble in data, you know one of the challenges… Continue reading RvsPython #2: Pivoting Data From Long to Wide Form

RvsPython #1: Webscraping

Webscraping is a powerful tool available for efficent data collection. There are ways to do it in both R and Python.I’ve built the same scraper in R and Python which gathers information about all the whitehouse breifings available on http://www.whitehouse.gov (don’t worry guys–it’s legal); This is based off of what I learned from FreeCodeCamp about… Continue reading RvsPython #1: Webscraping