class_docstr: Base class for cubic regression spline stateful transforms
  
  This class contains all the functionality for the following stateful
  transforms:
   - ``cr(x, df=None, knots=None, lower_bound=None, upper_bound=None, constraints=None)``
     for natural cubic regression spline
   - ``cc(x, df=None, knots=None, lower_bound=None, upper_bound=None, constraints=None)``
     for cyclic cubic regression spline
class_docstr_tok: ["Base","class","for","cubic","regression","spline","stateful","transforms","This","class","contains","all","the","functionality","for","the","following","stateful","transforms",":","-","``","cr","(","x",",","df=None",",","knots=None",",","lower_bound=None",",","upper_bound=None",",","constraints=None",")","``","for","natural","cubic","regression","spline","-","``","cc","(","x",",","df=None",",","knots=None",",","lower_bound=None",",","upper_bound=None",",","constraints=None",")","``","for","cyclic","cubic","regression","spline"]
code: def __init__(self, name, cyclic):
      self._name = name
      self._cyclic = cyclic
      self._tmp = {}
      self._all_knots = None
      self._constraints = None
  
imports: import numpy
  from patsy.util import have_pandas, atleast_2d_column_default, no_pickling, assert_no_pickling, safe_string_eq
  from patsy.state import stateful_transform
label_desc: Use image node_id 1 to create a new CubicRegressionSpline object from inherited base classes: object with example: obj = CubicRegressionSpline(name, cyclic)