def _surpress_formatting_errors(fn):
    """
    I know this is dangerous and the wrong way to solve the problem, but when
    using both row and columns summaries it's easier to just swallow errors
    so users can format their tables how they need.
    """
    @wraps(fn)
    def inner(*args, **kwargs):
        try:
            return fn(*args, **kwargs)
        except ValueError:
            return ""
    return inner
def _surpress_formatting_errors ( fn ) : @ wraps ( fn ) def inner ( * args , ** kwargs ) : try : return fn ( * args , ** kwargs ) except ValueError : return "" return inner
I know this is dangerous and the wrong way to solve the problem, but when
    using both row and columns summaries it's easier to just swallow errors
    so users can format their tables how they need.