Joseph Hastings - 1 year ago 121

Python Question

`numpy.interp`

Unfortunately, it's not easy to tweak the source for

`numpy.interp`

`scipy.interpolate.interp1d`

`kind='zero'`

`kind='zero'`

`spleval`

`kind='linear'`

`slope=0`

`numpy.searchsorted`

`numpy.interp`

`scipy.interpolate.interp1d`

Recommended for you: Get network issues from **WhatsUp Gold**. **Not end users.**

Answer Source

The `scipy.interpolate.interp1d`

can do all kinds of interpolation: ‘linear’,’nearest’, ‘zero’, ‘slinear’, ‘quadratic, ‘cubic’.

Please check the document: http://docs.scipy.org/doc/scipy-0.10.1/reference/generated/scipy.interpolate.interp1d.html#scipy.interpolate.interp1d

Recommended from our users: **Dynamic Network Monitoring from WhatsUp Gold from IPSwitch**. ** Free Download**