code: def derivatives_factory(cls, coef, degree, knots, ext, **kwargs):
          
          return cls._basis_spline_factory(coef, degree, knots, 1, ext)
docs: Given some coefficients, return a the derivative of a B-spline.