def _to_camel_case(s: str) -> str:
    """
    Convert given string to Camel case.
    If the string has no space or under score, it will be
    treated as Camel case thus no change will be made.

    >>> _to_camel_case('eagleDiao')
    'eagleDiao'
    >>> _to_camel_case('eagle_diao')
    'EagleDiao'
    >>> _to_camel_case('eagle diao')
    'EagleDiao'
    """
    if ' ' in s:
        names = [x.capitalize() for x in s.split()]
        return ''.join(names)
    elif '_' in s:
        names = [x.capitalize() for x in s.split('_')]
        return ''.join(names)
    return s