def add_feature_transaction_completed_ratio(profile_updated_df):
    """
    Create feature transcation count to offer completed ratio

    to avoid np.inf as a result of division, a 0.1 number was added to the denominator
    """
    profile_updated = profile_updated_df.copy()

    profile_updated['transaction_completed_ratio'] = \
            profile_updated.transaction_count / (profile_updated.offer_completed_total + 0.1)

    return profile_updated