@classmethod
    def _add_logical_methods_disabled(cls):

        def _make_invalid_op(name):
            def invalid_op(self, other=None):
                raise TypeError("cannot perform {name} with this index type: "
                                "{typ}".format(name=name, typ=type(self)))

            invalid_op.__name__ = name
            return invalid_op

        cls.all = _make_invalid_op('all')
        cls.any = _make_invalid_op('any')
Add a time value in statsd for the specified name
dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py/Index._add_logical_methods_disabled--crossover with--dataset/ETHPy150Open gmr/tinman/tinman/handlers/mixins.py/StatsdMixin.statsd_add_timing