How to Install Pandas

Published: 21 December 2013
on channel: Learn Pandas
82,088
136

This video will show you how to install Pandas. I am also going to show you my secret weapon that makes it really easy to get other Python libraries installed on your Windows computer.

What is Pandas? A Python data analysis library

Here are the steps to get Pandas installed:
1) Remove existing Python installation
2) Install Anaconda (installs Python and Pandas)
3) Verify Installation
4) Update Pandas Library

Delete Python:
The first step you have to complete is to delete any Python installation you may have on your Windows computer. We are going to be installing Python at the same time we are installing Pandas so it is very important you remove any existing Python installations.

Install Anaconda:
Anaconda is open source software that will install Python, Pandas, and a whole bunch of other Python libraries. I call it my secret weapon because it comes with a mini application called conda. Conda allows you to add, update, and delete Python libraries with ease.

I don't recommend you try to install Python 3 and then try to install Pandas using PIP. You will start to hit road blocks. You will be forced to download other libraries because they have dependencies with Pandas. You will get frustrated and you will want to quit.

Double-click on the Anaconda executable file you just downloaded to start the installation process. The installation process can take up to 10 minutes to complete.

Congratulations! Give yourself a pat on the back. You have just installed Python 3, Pandas, and a whole load of other popular Python libraries on your Windows machine.

Verify Installation
We are going to use the Command Prompt to verify we have installed Anaconda successfully. Open the Command Prompt and type "conda --version". If you get something similar to "conda 4.5.11" then you are all good to go.

Updating Conda
Using the Command Prompt, type "conda update conda" and then press enter. This command will check if you need to update the actual conda package. Again, we use conda to add, update, and remove Python packages.

Updating Pandas (a library for data analysis).
In the Command Prompt type "conda update pandas". This command will check to see if there are any newer versions of the Pandas library available.

As you can see we currently have Pandas 0.17.0 installed but there is a newer version available. Type y and press the enter button to accept the upgrade to version 0.17.1 of Pandas.

And that is it! You should now have a fully functional and updated Python installation on your machine. Most importantly you now know how to install Pandas. You also learned about my secret weapon, Anaconda. Using this tool we were also able to verify we have the latest version of Pandas at our disposal. I hope you enjoyed this video.

   • How to Create a Pandas DataFrame  

Now that you have learned how to install Pandas and actually have it installed. If you want to start practicing Pandas and are curious about getting your hands on some Pandas tutorials for new users, please visit the link above. The video above will show you how to create a DataFrame in Pandas.


Watch video How to Install Pandas online without registration, duration hours minute second in high quality. This video was added by user Learn Pandas 21 December 2013, don't forget to share it with your friends and acquaintances, it has been viewed on our site 82,088 once and liked it 136 people.