How to Install Pandas on Windows

To install Pandas on Windows, we need to use Python and pip. First, we will see how to install Matplotlib on Windows, and after that, we will also see some external platforms to install Matplotlib.

Install Pandas on Windows (without using any platform)

Let us see how to install Matpltolib on Windows. We will only use Python and pip i.e. we won’t use any external platform. The pip is used to download and install Python packages.

Here is the video tutorial to install Pandas on Windows:

After installing Python and pip, open CMD and use pip to install Pandas. Type the following command and press Enter (we have used the same command in the above video tutorial):

Install Pandas using various platforms

The above will install matplotlib on Windows. You can also use any of the following Python Distributions/ Platforms to run your first Matplotlib program:

  1. Pandas on VS Code
  2. Pandas on Anaconda
  3. Pandas on PyCharm
  4. Pandas on Google Colab

Let us see the some by one.

1. Install Pandas on VS Code

2. Install Pandas on Anaconda

Before moving further, we’ve prepared a video tutorial to install Pandas on Windows:

3 Install Pandas on PyCharm

4. Install Pandas on Google Colab

Run the first Pandas program

Now, let us run our first Pandas program. In the sample program, we need to first import the Pandas after installing:

To avoid writing pandas, again and again, we can also use an alias i.e.

Let us now see the following Pandas code which can be run in any of the Python Distributions. Do notice that we have imported pandas at the top:

Output

In the above program, we have created a dataset and added it to the DataFrame() method.  To understand, what is DataFrame and its purpose, let us see the next lesson. The 0, 1, 2, etc. are the index that gets automatically added to the table.

If you liked the tutorial, spread the word and share the link and our website Studyopedia with others.


For Videos, Join Our YouTube Channel: Join Now


Read More:

Pandas Tutorial
DataFrames in Pandas
Studyopedia Editorial Staff
contact@studyopedia.com

We work to create programming tutorials for all.

No Comments

Post A Comment

Discover more from Studyopedia

Subscribe now to keep reading and get access to the full archive.

Continue reading