{ "metadata": { "name": "" }, "nbformat": 3, "nbformat_minor": 0, "worksheets": [ { "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# A quick tour of IPython Notebook" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "This tour will work a little better in interactive mode, so it'll be better if you get IPython notebook installed and running. You can start it from a terminal by running\n", "\n", "`ipython notebook --pylab inline`\n", "\n", "The `--pylab inline` is for plotting graphs" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "First, we need to explain how to run cells. Try to run the cell below!" ] }, { "cell_type": "code", "collapsed": false, "input": [ "import pandas as pd\n", "\n", "print \"Hi! This is a cell. Press the \u25b6 button above to run it\"" ], "language": "python", "metadata": {}, "outputs": [] }, { "cell_type": "markdown", "metadata": {}, "source": [ "You can also run a cell with Ctrl+Enter or Shift+Enter. Experiment a bit with that." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "One of the most useful things about IPython notebook is its tab completion. \n", "\n", "Try this: click just after read_csv( in the cell below and press tab 4 times, slowly" ] }, { "cell_type": "code", "collapsed": false, "input": [ "pd.read_csv(" ], "language": "python", "metadata": {}, "outputs": [] }, { "cell_type": "markdown", "metadata": {}, "source": [ "After the first time, you should see this:\n", "