WEBVTT

00:00.080 --> 00:01.080
Welcome back.

00:01.080 --> 00:03.120
Now let's learn about pandas.

00:03.160 --> 00:11.160
Pandas is a powerful python library for working with tabular data like Excel sheet or CSV files.

00:11.440 --> 00:19.960
It lets you load data from files, clean and filter data, compute statistics, prepare data for visualization

00:19.960 --> 00:22.040
and other features.

00:22.080 --> 00:27.240
Now, in order to install it, we can write a new code here.

00:27.400 --> 00:32.280
Use pip install pandas and run the cell.

00:32.440 --> 00:35.560
What is pip and why we are installing it?

00:35.560 --> 00:45.240
Pip is a special command used in Google Colab and other Jupyter notebook environments, or PyCharm to

00:45.280 --> 00:50.040
install Python packages directly from within a notebook cell.

00:50.320 --> 00:56.840
The exclamation mark tells Colab to run the following command as a shell command.

00:56.840 --> 00:58.600
Instead of the Python code.

00:58.600 --> 01:05.040
It allows you to execute terminal or command line commands directly from notebook cells.

01:05.320 --> 01:10.240
Pip is the Python package installer.

01:10.560 --> 01:17.000
It downloads and installs packages from the Python package index pip pip.

01:17.160 --> 01:25.270
Okay, so in order to install any library, we're going to use pip, this exclamation mark and pip.

01:25.630 --> 01:34.350
If you are running applications and creating applications using Ides on your PC, there's no need to

01:34.390 --> 01:36.270
use this exclamation mark.

01:36.270 --> 01:40.030
Only use pip, which is the Python package installer.

01:40.070 --> 01:43.670
Okay, go and install pandas library.

01:43.670 --> 01:50.590
And if you notice that requirement already satisfied because as I told you, Google Colab provide you

01:50.910 --> 01:59.990
with some important libraries and install them directly and they are pre-installed on every with every

01:59.990 --> 02:01.270
notebook you create.

02:01.310 --> 02:10.070
Okay, so I installed pandas like this in case you have any problem or if you are running your code

02:10.070 --> 02:14.310
on Ides, the next step is to import pandas as PD.

02:14.550 --> 02:21.070
Run this cell, import pandas as pd, import pandas and give it a short name pd.

02:21.350 --> 02:26.270
So when I need to use the pandas library, I use PD.

02:26.430 --> 02:30.470
Now because it's short name becomes pd.

02:30.590 --> 02:35.510
This is how we import and install pandas library.
