def METHOD_NAME(self, s):
    # insert space before capital letters
    s = re.sub(r'(?<!^)(?=[A-Z])', ' ', s)
    # convert to lower case
    s = s.lower()
    # capitalize first letter
    s = s.capitalize()
    return s