def convert_to_camel(data):
 components = data.split('_')
 return (components[0] + ''.join((x.title() for x in components[1:])))

def convert_to_camel ( data ) : components = data . split ( '_' ) return ( components [ 0 ] + '' . join ( ( x . title ( ) for x in components [ 1 : ] ) ) )
convert snake case to camel case .