docstr: Time the construction overhead.
docstr_tok: ["Time","the","construction","overhead","."]
code: def time_interpolate(self, n_samples, method):
      """Time the construction overhead."""
      interpolate.interp1d(self.x, self.y, kind=method)
  
imports: import numpy
  from .common import run_monitored, set_mem_rlimit, Benchmark, safe_import
label_desc: Use image node_id 2 for calling the Interpolate1d obj's underlying member method code with example usage: obj.time_interpolate(n_samples, method) without return types