Python Pandas

Installations

This section describes how to install Python Pandas package on a MacOS based machine, including Cython installation, Numpy installation, and Pandas package installation.

Install Cython

  • Cython is used to install Numpy package.
  • Cython can be downloaded from the Cython project.
  • Unpack the Cython with the following command
tar -xzvf Cython-0.22.tar.gz
  • Install Cython with following command
sudo python setup.py install

Install Numpy

  • Numpy is needed in Cython.
  • Numpy can be cloned from GitHub with following command
git@github.com:numpy/numpy.git
  • Install Numpy with the following commands
sudo python setup.py build
sudo python setup.py install

Install Pandas

  • Download Pandas from GitHub with the following command
git clone git@github.com:numpy/numpy.git
  • Build and install Pandas package with the following command
sudo python setup build
sudo python setup build
  • To be able to import Pandas directly in the Python interpreter, the following command is necessary
sudo python setup.py build_ext --inplace

Make use of Python Pandas