def _snake_to_camel_case ( value ) : words = value . split ( "_" ) return words [ 0 ] + "" . join ( map ( str . capitalize , words [ 1 : ] ) )
capitalize function in python for lists
Convert snake case string to camel case .
def _snake_to_camel_case(value):
    """Convert snake case string to camel case."""
    words = value.split("_")
    return words[0] + "".join(map(str.capitalize, words[1:]))