Statistical Features - Basics

Basic Concepts

The first step in analyzing data is to get familiar with it. Our good old NumPy provides a lot of methods that can help us do this easily. We are going to look at some of these methods in this lesson. Along the way, we are going to understand the meaning of important statistical terms as we encounter them.

The most basic yet powerful terms that you could come across are the mean, mode, median, standard deviation, and correlation coefficient. Let’s understand these with an example dataset and using NumPy.

Say we have a dataset consisting of students’ exams scores and the time they invested in studying for the exam. What can we learn about this data using statistics?

Run the code in the widget below and try to understand what’s happening before reading the description that follows.

Get hands-on with 1200+ tech skills courses.