scipy.interpolate.LSQUnivariateSpline
scipy.interpolate.LSQUnivariateSpline.antiderivative
Evaluate spline (or its nu-th derivative) at positions x.
Note: x can be unordered but the evaluation is more efficient if x is (partially) ordered.