Pandas is an data analysis module for the Python programming language. It is open-source and BSD-licensed.
Pandas is used in a wide range of fields including academia, finance, economics, statistics, analytics, etc.
Related course: Data Analysis with Python Pandas
Install Pandas
The Pandas module isn’t bundled with Python, so you can manually install the module with pip.
1 | pip install pandas |
Linux
If you use Linux, you can use one of the commands below to install pandas.
For Ubuntu Users
1 | sudo apt-get install python-numpy python-scipy python-matplotlibipythonipythonnotebook |
For Fedora Users
1 | sudo yum install numpyscipy python-matplotlibipython python-pandas sympy |
Windows
For Windows uses, you can do the following:
1 | virtualenv -p python3 envname |
pip is likely in:
1 | C:\Python34\Scripts\pip3.exe |
Apple Mac OS X
To install pandas on Mac OS X, first install python
.
If Python is not installed,
1 | brew install python |
Then install pandas
with pip
.
1 | pip install pandas |
Related course: Data Analysis with Python Pandas