'SciPy Interpolation: Value Error - Python
I have 2 np.arrays with the same length, new_phase and phase_av .
When trying to run:
Fxi = interp1d(np.ravel(new_phase), np.ravel(phase_av), fill_value='extrapolate')
I get a ValueError: x and y arrays must have at least 2 entries
Both arrays have 360 items and are the same length. why am I getting this error??
Thank you!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
