Getting started with Python pandas library (Python3)

Python pandas is a programming library written for python programming language for data manipulation and analysis. It is built on top of the NumPy library, which allows users to perform mathematical operations on arrays. Pandas expands this to dataframes. Dataframes can be thought of as tables of data.

Apart from quick and efficient operations, Pandas also provides wrappers around the matplotlib plotting library, making it very easy to create a variety of plots.

Installation and getting started


Before you start any python project, it is always a good idea have a dedicated virtual environment. Below article link explains how it is done if you are not familiar.

Python Virtual Environment (Python3) an Introduction


In order to get python pandas working, you need to install it. You would also need to have Python 3.5.3 and above. As a pre-requirement for installation it also depends on other libraries (like NumPy) and has optional dependancies (like Matplotlib for plotting). 

Pandas can be installed via pip:

pip3 install pandas

If you don’t already have Numpy installed then you will need to install it before you install pandas.

Numpy can be installed via pip:

pip3 install numpy

You can find the complete installation instruction here.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *