def _reduce(self, op, name: str, *, axis=0, skipna=True, numeric_only=None, filter_type=None, **kwds):
    '\n        Perform the reduction type operation if we can.\n        '
    func = getattr(self, name, None)
    if (func is None):
        raise TypeError(f'{type(self).__name__} cannot perform the operation {name}')
    return func(skipna=skipna, **kwds)
Perform the reduction type operation if we can.
def _reduce(self, op, name: str, *, axis=0, skipna=True, numeric_only=None, filter_type=None, **kwds):
    '\n        \n        '
    func = getattr(self, name, None)
    if (func is None):
        raise TypeError(f'{type(self).__name__} cannot perform the operation {name}')
    return func(skipna=skipna, **kwds)