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