2 Easy Processes to Install Pandas on Windows (pip & Anaconda)
Struggling with the installation of Pandas? Didn’t find any source to initialize the installation process? You have landed on the right page, here you will get 2 easy processes to install pandas on windows – with pip and anaconda.
Keeping you updated with latest technology trends, Join DataFlair on Telegram
1. Installing Python Pandas on Windows
Here, we are going to discuss the two processes to install pandas on Windows-
- With pip
- With anaconda
So, let’s start the first one-
1.1 How to install pandas using pip?
If you are using the latest version of Pandas, you will have pip already installed on your system. Therefore you need not follow from step 1 to 5. For users who don’t have the latest version of Python (3.7.3), they should upgrade it.
First head over to https://www.python.org and click on Downloads on the Navigation bar as highlighted on the image below:
Be sure to download the latest version of the Python. Version 3.7.3, in this case.
Don’t forget to check – Pandas Basic Functionality
On running the downloaded installer, you will get this window. Click on ‘Install Now’.
After finishing the installation, it is recommended to choose the option to disable path length to avoid any problems with your Python installation.
Now that Python is installed, you should head over to our terminal or command prompt from where you can install Pandas. So go to your search bar on your desktop and search for cmd. An application called Command prompt should show up. Click to start it.
It’s the right time to discover Pandas Library Architecture (File Hierarchy)
Type in the command “pip install manager”. Pip is a package install manager for Python and it is installed alongside the new Python distributions.
Wait for the downloads to be over and once it is done you will be able to run Pandas inside your Python programs on Windows.
1.2. How to install pandas using Anaconda?
It is highly recommended that beginners should use Anaconda to install Pandas on their system. Installing Anaconda is not only very easy, but it also gives you access to various other tools.
Head over to https://www.anaconda.com, Once you are there, click on the Download button on the top right corner of the screen.
In the downloads page, scroll down until you see the download options for windows. Click on the download button for python 3.7. This will initiate a download for the anaconda installer.
Do you know which industry segment is using Python Pandas?
Follow through the instructions for installing as shown in the next few images. Choose any destination folder according to your liking and uncheck “Add anaconda to my PATH environment variable.”
Once the installation is finished you can have access to Pandas on your system. Anaconda installs all important libraries for you.
Take these 7 best Python Pandas Books for Data Analysis
Jupyter Notebook(Optional): Most Machine Learning projects are covered in jupyter notebooks, therefore, it is important to know how to use it.
First, go to to your program files in the start menu and find “Anaconda Navigator”. Once you enter the program, you will be greeted with a similar screen as shown below. Launch Jupyter Notebooks.
Once you click on Launch for Jupyter Notebook, it will automatically open a browser window and will show the following page. Click on new and then on “Python 3”
Once you choose “python 3”, it will take you to a new tab, where you can start coding at once.
In this tutorial, we learned how to install pandas onto our system. All methods shared in the article were fairly simple, therefore, you should not face a problem in following the instructions. However, if you somehow face any problems, be sure to leave a comment below.
Check this out – What makes Python pandas unique?