How to Install Pandas in Windows Operating System

Posted on

This is an article describing how to install Pandas in Windows operating system. Actually, the step for installing Pandas in Windows operating system is easy and simple. Just make sure that python and pip is already exist in the Windows operating system. According to the Wikipedia page in this link, in computer programming, pandas is a software library written for the Python programming language for data manipulation and analysis. In particular, it offers data structures and operations for manipulating numerical tables and time series. So, in order to achieve the purpose as in the previous statement description, just install pandas. The following are the steps for installing Pandas in the operating system :

1. Execute the Command Prompt. In the command line interface, just type ‘pip install pandas’.

Microsoft Windows [Version 10.0.18362.778]
(c) 2019 Microsoft Corporation. All rights reserved.
C:\Users\Myself>cd \
C:\>cd python-win
C:\python-win>

The execution of the ‘pip install pandas’ exist as follows :

C:\python-win>pip install pandas
Collecting pandas
  Downloading pandas-1.0.5-cp38-cp38-win_amd64.whl (8.9 MB)
     |████████████████████████████████| 8.9 MB 94 kB/s
Requirement already satisfied: python-dateutil>=2.6.1 in c:\python38\lib\site-packages (from pandas) (2.8.1)
Collecting pytz>=2017.2
  Using cached pytz-2020.1-py2.py3-none-any.whl (510 kB)
Collecting numpy>=1.13.3
  Downloading numpy-1.19.0-cp38-cp38-win_amd64.whl (13.0 MB)
     |████████████████████████████████| 13.0 MB 10 kB/s
Requirement already satisfied: six>=1.5 in c:\python38\lib\site-packages (from python-dateutil>=2.6.1->pandas) (1.14.0)
Installing collected packages: pytz, numpy, pandas
Successfully installed numpy-1.19.0 pandas-1.0.5 pytz-2020.1
WARNING: You are using pip version 20.0.2; however, version 20.1.1 is available.
You should consider upgrading via the 'c:\python38\python.exe -m pip install --upgrade pip' command.
C:\python-win>

2. After installing Pandas in the previous step, do the following one to check if the ‘pandas’ already exist. Just type the command ‘pip freeze’ as follows :

C:\Users\Myself>pip freeze
appdirs==1.4.3
attrs==19.3.0
backcall==0.2.0
bleach==3.1.5
certifi==2019.11.28
colorama==0.4.3
decorator==4.4.2
defusedxml==0.6.0
distlib==0.3.0
entrypoints==0.3
filelock==3.0.12
ipykernel==5.3.0
ipython==7.15.0
ipython-genutils==0.2.0
jedi==0.17.0
Jinja2==2.11.2
jsonschema==3.2.0
jupyter-client==6.1.3
jupyter-core==4.6.3
MarkupSafe==1.1.1
mistune==0.8.4
nbconvert==5.6.1
nbformat==5.0.7
notebook==6.0.3
numpy==1.19.0
packaging==20.4
pandas==1.0.5
pandocfilters==1.4.2
parso==0.7.0
pickleshare==0.7.5
pipenv==2018.11.26
prometheus-client==0.8.0
prompt-toolkit==3.0.5
Pygments==2.6.1
pyparsing==2.4.7
pyrsistent==0.16.0f
python-dateutil==2.8.1
pytz==2020.1
pywin32==228
pywinpty==0.5.7
pyzmq==19.0.1
Send2Trash==1.5.0
six==1.14.0
terminado==0.8.3
testpath==0.4.4
tornado==6.0.4
traitlets==4.3.3
virtualenv==20.0.15
virtualenv-clone==0.5.4
wcwidth==0.2.4
webencodings==0.5.1
C:\Users\Myself>

Apparently, from the above output command to check the available package or module in the Windows operating system using ‘pip freeze’, the pandas package or module is in the output list. It means, the installation of ‘pandas’ package or module is a success. The list is in ‘ pandas==1.0.5’ where there are another packages or modules is exist because of the ‘pandas’ installation. It will also install pytz and numpy package or module.

Leave a Reply