Difference between revisions of "IPython"

From stgo
Jump to: navigation, search
(ToDo)
(ToDo)
Line 17: Line 17:
  
 
== ToDo ==
 
== ToDo ==
* General: iPyhton scripts and tutorials, on data analysis, machine learning, etc
+
* General: iPyhton scripts and tutorials, on data analysis, machine learning, etc: http://github.com/ipython/ipython/wiki/A-gallery-of-interesting-IPython-Notebooks#earth-science-and-geo-spatial-data
 
* check out GeoPandas (perhaps pysal) : http://github.com/geopandas/geopandas
 
* 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
 
* iPython Notebooks for Earth & GeoSciences: http://github.com/ipython/ipython/wiki/A-gallery-of-interesting-IPython-Notebooks#earth-science-and-geo-spatial-data
 
** EarthPy: http://earthpy.org/
 
** EarthPy: http://earthpy.org/
 
** find graffiti near subway entrances: http://nbviewer.jupyter.org/github/invisibleroads/crosscompute-tutorials/blob/master/computational-analysis/300%20Count%20graffiti%20sightings%20within%20100%20feet%20of%20a%20subway%20entrance.ipynb
 
** find graffiti near subway entrances: http://nbviewer.jupyter.org/github/invisibleroads/crosscompute-tutorials/blob/master/computational-analysis/300%20Count%20graffiti%20sightings%20within%20100%20feet%20of%20a%20subway%20entrance.ipynb

Revision as of 16:14, 4 February 2016

new [4.Feb.2016]: iPython is now jupyter: http://ipython.org/

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