title: Call a function from another cell in iPython
body: <p>In a cell I have </p>
  
  <pre><code>  def function():
          stuff
  </code></pre>
  
  <p>In a cell below the previously mentioned cell, I call</p>
  
  <pre><code>   function()
  </code></pre>
  
  <p>The error I get is: </p>
  
  <pre><code>   name 'function' is not defined.
  </code></pre>
  
  <p>How do I call a function in another cell in iPython?</p>