code: def _interpolate(self, xs, ys):
          
          x = []
          y = []
          for i in range(len(ys)):
              if ys[i] is not None:
                  x.append(xs[i])
                  y.append(ys[i])
  
          interpolate = INTERPOLATIONS[self.interpolate]
  
          return list(
              interpolate(
                  x, y, self.interpolation_precision,
                  **self.interpolation_parameters
              )
          )
docs: Make the interpolation