title: How to predict a value using pandas data frame?
body: <p>I need to use the line of best to predict a value in my datas frame. How would I do this? Is there a function that for example, I can input a year and be given a predicted value for life expectancy? </p>
  
  <pre><code>Year    Life Expectancy
  1930    59.7
  1940    62.9
  1950    70.2
  1965    67.7
  </code></pre>
  
  <p>How would I calculate a value for the year 1948?</p>