使用 f=scipy.interpolate.interp1d(x,inputData,axis=0)时报错:
AttributeError: module ‘scipy’ has no attribute ‘interpolate’
解决方法:
from scipy.interpolate import interp1d
f=interp1d(x,inputData,axis=0)
使用 f=scipy.interpolate.interp1d(x,inputData,axis=0)时报错:
AttributeError: module ‘scipy’ has no attribute ‘interpolate’
解决方法:
from scipy.interpolate import interp1d
f=interp1d(x,inputData,axis=0)