Exemplo n.º 1
0
Arquivo: desc.py Projeto: noelhx/patsy
 def __init__(self, intercept, intercept_origin, intercept_removed, terms):
     self.intercept = intercept
     self.intercept_origin = intercept_origin
     self.intercept_removed =intercept_removed
     self.terms = tuple(uniqueify_list(terms))
     if self.intercept:
         assert self.intercept_origin
     assert not (self.intercept and self.intercept_removed)
Exemplo n.º 2
0
 def __init__(self, intercept, intercept_origin, intercept_removed, terms):
     self.intercept = intercept
     self.intercept_origin = intercept_origin
     self.intercept_removed =intercept_removed
     self.terms = tuple(uniqueify_list(terms))
     if self.intercept:
         assert self.intercept_origin
     assert not (self.intercept and self.intercept_removed)
Exemplo n.º 3
0
Arquivo: desc.py Projeto: noelhx/patsy
 def __init__(self, factors):
     self.factors = tuple(uniqueify_list(factors))
Exemplo n.º 4
0
Arquivo: desc.py Projeto: noelhx/patsy
 def __init__(self, lhs_termlist, rhs_termlist):
     self.lhs_termlist = uniqueify_list(lhs_termlist)
     self.rhs_termlist = uniqueify_list(rhs_termlist)
Exemplo n.º 5
0
 def __init__(self, factors):
     self.factors = tuple(uniqueify_list(factors))
Exemplo n.º 6
0
 def __init__(self, lhs_termlist, rhs_termlist):
     self.lhs_termlist = uniqueify_list(lhs_termlist)
     self.rhs_termlist = uniqueify_list(rhs_termlist)