def add_constant(builder, val, const):
 return builder.add(val, Constant.int(TIMEDELTA64, const))

def add_constant ( builder , val , const ) : return builder . add ( val , Constant . int ( TIMEDELTA64 , const ) )
adds a column of ones to an array parameters data : array-like data is the column-ordered design matrix prepend : bool if true .