def pc(key):
 return ''.join([token.capitalize() for token in key.split('_')])

def pc ( key ) : return '' . join ( [ token . capitalize ( ) for token in key . split ( '_' ) ] )
changes python key into pascale case equivalent .