Welcome back.
Now let's learn about pandas.
Pandas is a powerful python library for working with tabular data like Excel sheet or CSV files.
It lets you load data from files, clean and filter data, compute statistics, prepare data for visualization
and other features.
Now, in order to install it, we can write a new code here.
Use pip install pandas and run the cell.
What is pip and why we are installing it?
Pip is a special command used in Google Colab and other Jupyter notebook environments, or PyCharm to
install Python packages directly from within a notebook cell.
The exclamation mark tells Colab to run the following command as a shell command.
Instead of the Python code.
It allows you to execute terminal or command line commands directly from notebook cells.
Pip is the Python package installer.
It downloads and installs packages from the Python package index pip pip.
Okay, so in order to install any library, we're going to use pip, this exclamation mark and pip.
If you are running applications and creating applications using Ides on your PC, there's no need to
use this exclamation mark.
Only use pip, which is the Python package installer.
Okay, go and install pandas library.
And if you notice that requirement already satisfied because as I told you, Google Colab provide you
with some important libraries and install them directly and they are pre-installed on every with every
notebook you create.
Okay, so I installed pandas like this in case you have any problem or if you are running your code
on Ides, the next step is to import pandas as PD.
Run this cell, import pandas as pd, import pandas and give it a short name pd.
So when I need to use the pandas library, I use PD.
Now because it's short name becomes pd.
This is how we import and install pandas library.