Total views

Sunday, March 12, 2017

Starting with Python - 1


Python has been coming up as the go to language for data science besides R. While I drive away from the meaningless debates about the superiority of R and Python, here I present the stepping stones for learning Python from scratch. While I had shared python codes to work with data in one of my earlier blog Python Basic Codes, I had used pandas module. However, it is always better to learn the language in its basic form so that one is not restricted in their use and application of the language.

I have been following a course on coursera on python, and along with the course, I am creating a python notebook. The advantage of using the python notebook is that it shows the code along with the output below.

In this first notebook, I have given the basic idea about the following:

  1. Writing functions
  2. Tuples
  3. Lists
  4. Dictionaries
Here is the link to the jupyter notebook: