Example #1
0
 def validate(self, in_dshape):
     if not isnumeric(in_dshape.measure[self.column]):
         raise ValueError("input must be numeric")
Example #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")
Example #3
0
 def validate(self, in_dshape):
     if not isnumeric(in_dshape.measure[self.column]):
         raise ValueError("input must be numeric")
Example #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")