title: Least square method in python
body: <p>I have two lists of data, one with x values and the other with corresponding y values. How can I find the best fit? I've tried messing with <code>scipy.optimize.leastsq</code> but I just can't seem to get it right.</p>
  
  <p>Any help is greatly appreciated</p>