def _validate_for_numeric_unaryop(self, op, opstr):

        if not self._is_numeric_dtype:
            raise TypeError("cannot evaluate a numeric op "
                            "{opstr} for type: {typ}".format(
                                opstr=opstr,
                                typ=type(self))
                            )
A helper to return parameters for a given coarse split.
dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py/Index._validate_for_numeric_unaryop--crossover with--dataset/ETHPy150Open yahoo/lopq/python/lopq/model.py/LOPQModel.get_split_parameters