title: SciPy Interpolation: Value Error - Python
body: <p>I have 2 np.arrays with the same length, <em>new_phase</em> and <em>phase_av</em> .</p>
  <p>When trying to run:</p>
  <pre><code>Fxi = interp1d(np.ravel(new_phase), np.ravel(phase_av), fill_value='extrapolate')
  </code></pre>
  <p>I get a <strong>ValueError: x and y arrays must have at least 2 entries</strong></p>
  <p>Both arrays have 360 items and are the same length. why am I getting this error??</p>
  <p>Thank you!</p>