title: Get approx value from dataframe
body: <p>I'd like to get the &quot;Distance&quot; value for a given &quot;LapTimeSeconds&quot; that isn't present in the table, is there any way to do that?</p>
  <p>Maybe using interpolation? But how? Thanks in advance</p>
  <pre><code># Something like this?
  driver1_tel.loc[(driver1_tel[&quot;LapTimeSeconds&quot;] == (3.0)]
  </code></pre>
  <p><img src="https://i.stack.imgur.com/SakRQ.png" alt="Dataframe" /></p>