Lesson 1: A Step by Step Guide to Learning Data Science Using Python

Lesson 1: A Step by Step Guide to Learning Data Science Using Python

Hello and welcome to this Python and data science tutorial series, my name is Henry Mbugua and I will be taking you through the various aspect and new answers to this data science tutorial series. The first thing we are going to cover is to understand what is data science.

What is Data Science?

Data science is all about finding insight from the available data in a specific problem domain created by digitization of everything. A good use case of data science would be:

  • Hotels – can use data science to predict how many customers they are likely to get during the weekend and make a plan on how to handle food inventory and avoid loss.
  • Insurance – a company can use data science to detect fraud activity, suspicious links and subtle behavior pattern using multiple techniques. Usually, insurance companies use statistical models for efficient fraud detection, these models rely on the previous case of fraudulent activity.

The insight we get from data science is used to solve business problems.

What is Python?

While doing data science, we need some type of programming language and in this case, we will be using python. Of course, there is another programming language called R that is used for data science. Why do we want to use python? Here are a few reasons:

  • Python has rich tools from mathematics and statistical perspective.
  • Python is becoming programming of choice in data science.
  • Python is open source, compared to SAS.
  • Availability or packages thus you don’t have to reinvent the wheel.

Getting Started with Python

The first thing we need to do is to install python on our machines, there are a lot of ways to install python depending on the Operating system you are using. In this tutorial series, we will use Anaconda. Anaconda Distribution is an open source environment manager for Python/R data science and machine learning on Linux, Windows and Mac OS. To install anaconda, click on this: Anaconda Download. You will see the following screen:

Select your Operating System and I recommend you download the Python 3.7 version package, which is the latest at the time of writing this tutorial. Great, now that we have installed our python of choice, let’s look at the libraries available.

Python Libraries for Data Analysis

Python is a very easy language to learn, and there are some basic things you can do link adding, multiply, the print statement like “Hello world without the use of any Library. But if you want to perform data analysis, you will need to import some specific libraries. Here are some of the libraries:

Additional libraries you might need, beautiful soup, and tensor flow for AI-related stuff.

With that, we conclude this lesson, in our next lesson we will have a practical example of how to apply Python to data analysis. See you in lesson 2.

Facebook Comments


I am an Intermediate Developer ready to enter major leagues. My professional ambition is to stay versatile and be able to fill different roles within a product group.