def to_pascal_case(val: str) -> str:
    """Convert underscore_delimitered_string to PacalCase string."""
    words = val.split('_')
    result = ''.join(list(map(lambda x: x.title(), words)))

    return result