Can anyone help on this. Tried multiple I am new to this python. Need to get first character using python/pandas
output should be :
Appreciate your help on this. So that i can solve my issue. Can anyone help on this quick and efficient way?
split() to split the string at underscore characters. Then concatenate the first character of each word.
string = 'Stack_over_flow' print(''.join(word for word in string.split('_'))