def roe(net_income, average_equity):
    """Computes return on equity.

    Parameters
    ----------
    net_income : int or float
        Net income
    average_equity : int or float
        Average total equity

    Returns
    -------
    out : int or float
        Return on equity
    """
    return net_income / average_equity