Exemplo n.º 1
0
 def validate(self, in_dshape):
     if not isnumeric(in_dshape.measure[self.column]):
         raise ValueError("input must be numeric")
Exemplo n.º 2
0
 def validate(self, in_dshape):
     if not self.column in in_dshape.dict:
         raise ValueError("specified column not found")
     if not isnumeric(in_dshape.measure[self.column]):
         raise ValueError("input must be numeric")
Exemplo n.º 3
0
 def validate(self, in_dshape):
     if not isnumeric(in_dshape.measure[self.column]):
         raise ValueError("input must be numeric")
Exemplo n.º 4
0
 def validate(self, in_dshape):
     if not self.column in in_dshape.dict:
         raise ValueError("specified column not found")
     if not isnumeric(in_dshape.measure[self.column]):
         raise ValueError("input must be numeric")