IPython
From stgo
new [4.Feb.2016]: iPython is now jupyter: http://ipython.org/
- to install jupyter (on MacOSX): see documentation : here http://jupyter.readthedocs.org/en/latest/install.html
- install anaconda from http://www.continuum.io/downloads#_macosx
- reboot mac
- in terminal:
conda install jupyter
- start iPython/Jupyter:
- in terminal
jupyter notebook
- in terminal
- note, there are also additional jupyter kernels for other languages such as IDL, PhP, Javascript, Scilab, http://github.com/ipython/ipython/wiki/IPython-kernels-for-other-languages
old:
- for installing iPython see here: http://ipython.org/ipython-doc/2/install/install.html
- start iPython notebook, run in a normal terminal
ipython notebook --pylab inline
- for the command line version on Ubuntu go to the menu and start development>ipython
- run the code with <shift+enter>
- updating pandas (I had 0.7 installed but needed 0.9 for doing some str ops) simply type
sudo pip install --upgrade pandas
ToDo
- check out GeoPandas (perhaps pysal) : http://github.com/geopandas/geopandas
- iPython Notebooks for Earth & GeoSciences: http://github.com/ipython/ipython/wiki/A-gallery-of-interesting-IPython-Notebooks#earth-science-and-geo-spatial-data