title: How to perform cubic spline interpolation in python?
body: <p>I have two lists to describe the function y(x):</p>
  
  <pre><code>x = [0,1,2,3,4,5]
  y = [12,14,22,39,58,77]
  </code></pre>
  
  <p>I would like to perform cubic spline interpolation so that given some value u in the domain of x, e.g.</p>
  
  <pre><code>u = 1.25
  </code></pre>
  
  <p>I can find y(u).</p>
  
  <p>I found <a href="http://docs.scipy.org/doc/scipy/reference/tutorial/interpolate.html" rel="noreferrer">this in SciPy but I am not sure how to use it.</a></p>