def as_percent(self, precision=2, *args, **kwargs):
        """Format subset as percentages

        :param precision: Decimal precision
        :param subset: Pandas subset
        """
        f = Formatter(as_percent(precision), args, kwargs)
        return self._add_formatter(f)
Format subset as percentages

        :param precision: Decimal precision
        :param subset: Pandas subset