def _validate_for_numeric_unaryop(self, op, opstr):
if not self._is_numeric_dtype:<EOL><INDENT>raise TypeError("<STR_LIT>"<EOL>"<STR_LIT>"<EOL>.format(opstr=opstr, typ=type(self).__name__))<EOL><DEDENT>
Validate if we can perform a numeric unary operation.