def _reduce(self, op, name, axis=<NUM_LIT:0>, skipna=True, numeric_only=None,<EOL>filter_type=None, **kwds):
func = getattr(self, name, None)<EOL>if func is None:<EOL><INDENT>raise TypeError("<STR_LIT>".format(<EOL>klass=self.__class__.__name__, op=name))<EOL><DEDENT>return func(skipna=skipna, **kwds)<EOL>
perform the reduction type operation if we can