[Guide] Web Scraping 101: What you need to know and how to scrape with Python & Selenium Webdriver

The first step in building a data science model is: Collecting data.

For beginners in data science, it is easier to grab ready-to-use data files in CSV format from many available public data sources. If anyone is interested, I will list the sites for free publicly available in the future article.

This article is for anyone who would like to learn how to scrape website quickly and easily using the tool in Python you already know (Pandas). I will cover a little bit on the basics of web scraping before talking about the libraries.

Continue reading “[Guide] Web Scraping 101: What you need to know and how to scrape with Python & Selenium Webdriver”

[Python] How to update Anaconda Navigator with command line

I had a problem updating Anaconda Navigator with its UI and managed to solve by updating using the command line. So I wrote this article so it benefits other people and I can also come back if I face this problem in the future. Note that this blog post will be very very short, but very useful.

Continue reading “[Python] How to update Anaconda Navigator with command line”

[Google Analytics API] How to get data from Google Analytics with Python in Jupyter Notebook (with tutorial file)

Today I found an online tool that can get the stats of the published articles from Google Analytics. That’s how I got interested in Google Analytics API. As I am studying Data Science at the moment, knowing how to do web analytics would open up a lot of new possibilities.

Continue reading “[Google Analytics API] How to get data from Google Analytics with Python in Jupyter Notebook (with tutorial file)”

How to install and switch Python version 2.7 <-> 3.5 in Anaconda

I recently had to switch to Python 2.7 since it is required for Algorithms and Data Structure unit. My current installation of Anaconda on my laptop is Python 3.5. This is the step by step solution to switch between two versions.

Continue reading “How to install and switch Python version 2.7 < -> 3.5 in Anaconda”