In this section, we are going to learn about the pandas module. The pandas module provides fast and flexible data structures that are designed for working with structured and time series data. The pandas module is used for data analysis. The pandas module is built on packages such as NumPY and Matplotlib and gives us a place to do most of our analysis and visualization work in. To use the functionality of this module, you must import it first.
First, install the following packages that we need in our examples by running the following commands:
$ pip3 install pandas
$ pip3 install matplotlib
Here, we are going to look at some examples of using the pandas module. We will learn about two data structures: Series and DataFrames. We are also going to see how we can read the data from a csv file using pandas.