import string


def to_title_style_name(name):
    """Converts from "user_group" to "UserGroup".

    Args:
        name: A string which is liked "user_group".

    Returns:
        A string which is liked UserGroup". For example:

        "user_group" to "UserGroup"
    """
    name_with_underscore = name
    step_1 = name_with_underscore.replace('_', ' ')
    step_2 = string.capwords(step_1)
    step_3 = step_2.replace(' ', '')
    return step_3