How do I install Python Pandas?

I'm trying to install Pandas (python package) on Ubuntu. I can't find it in the repos. Is there a package repo for this or do I have to install from source?


I'm taking python class, professor suggests us to install in this way, pip is much better than setuptools and easy_install

sudo apt-get install python-pip
sudo pip install numpy
sudo pip install pandas

The solution with easy_install didn't install properly on a Ubuntu 12.04 system, while

sudo apt-get install python-pandas

did a proper install.


It's in the Python package index - use easy_install or pip.

sudo aptitude install python-setuptools # installs easy_install for your python version
sudo easy_install pandas

Replace aptitude with apt-get if your version doesn't have aptitude installed, or use synaptic or whatever package manager your version has installed by default.


sudo pip3 install pandas

This will install the latest version of pandas for Python 3 whereas apt-get does not.