scipy.interpolate.LSQUnivariateSpline

class scipy.interpolate.LSQUnivariateSpline(x, y, t, w=None, bbox=[, None, None], k=3)
Weighted least-squares univariate spline approximation. Appears to be identical to UnivariateSpline with more error checking.