title: filter/interpolate x,y points to specific # of points, with a list of specific points to include
body: <p><a href="https://i.stack.imgur.com/lHi4n.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lHi4n.png" alt="enter image description here"></a>I need some help filtering/interpolating some data in python.</p>
  
  <p>I have a list of x,y points (about 1500 pairs) that I want to interpolate down to 500 points while retaining as much detail as possible (not just dropping 2/3 of the points). </p>
  
  <p>I also want to include a list of x points that the resulting dataset would have to include.</p>
  
  <p>Does anyone have any idea how I could approach this?</p>