Install pandas

Summary: In this tutorial, you will learn how to install pandas along with its requirements : Python and pip or Anaconda and conda.

Python distribution : CPython and Anaconda

Pandas is a Python library, so you need to have Python installed on your system before actually installing Pandas. The latest stable of Pandas supports Python 3 only.

Python is a programming language, basically a set of specifications. The official implementation of Python is CPython, which you can download from

Aside from CPython, there are other implementations of Python that focus on different use cases.

Anaconda is a Python implementation tightly integrated with the R programming language for scientific computing, that aims to simplify package management and deployment.

If you want to learn both Python and pandas as well, go with the official Python implementation at

If you don’t want to dig too deep into Python and want Pandas power only, choose Anaconda, as it makes things “just work” out of the box.

Install Pandas with Python/pip

The first thing you need to do is head over to and download the latest stable version from the download page.

Once the download completes, double-click the installer to launch the setup wizard.

In the setup window, you need to check the Add Python 3.9 to PATH and click the Install Now button. Wait a few minutes as the wizard does its job.

Once you see the following message, it means the setup has completed successfully.

The last thing to do is verifying that your system now recognizes Python. In order to do that, open the Run window, type cmd and press Enter:

See also  Install Jupyter Notebook/JupyterLab

In the Command Prompt, type python and press Enter:

If you see something similar to what we saw in the above screenshot (numbers can be different, depending on your downloaded build), you’ve successfully installed Python. Now exit the program by pressing Ctrl + Z followed by Enter.

If you see the following message from the Command Prompt:

'python' is not recognized as an internal or external command, operable program or batch file.

It’s most likely that you didn’t check the Add Python 3.9 to PATH checkbox during the installation.

Install pandas with Anaconda

In order to install Anaconda, go to Anaconda | Individual Edition page and select the appropriate installer for your operating system. In this example, I’ll choose the Windows 64-bit installer.

You may notice that the installer is a bit too big compared to the CPython installer at That is because Anaconda bundled essential packages with it by default.

Once the download completes, double-click the installer to launch the setup wizard.

In the setup window, you need to check the Add Anaconda to my PATH environment variable and click the Install button. You may also check Register Anaconda as my default Python 3.x if you want Anaconda to replace the Python already installed on your system.

Now wait a few minutes as the wizard does its job.

Finally, you have to check whether Anaconda is recognized by the system or not. Remember that Anaconda is just another implementation of Python, so it would use the same `python` command as usual.

In order to verify Anaconda installation, you can go to the Windows start menu and select the Anaconda Prompt.

See also  Select DataFrame rows

Now run python to run the Python shell. If Anaconda is successfully installed, a message similar to the screenshot below will show up.

Avatar photo
Author: Thijmen I’m currently a SysAdmin located in the Netherlands. Every day I try to keep around a hundred users happy with their network connections and overall, tech-related issues. I also spend my spare time fiddling with web-based applications.

Leave a Comment