def _get_power(x_str, power):
    """
    Get the string for a power of a variable in `_build_formula`
    """
    if power>1:
        return '{0}**{1}'.format(x_str, power)
    elif power==1:
        return x_str
    return None