I have a DataFrame and i wanna add a string at the beggining of each element of a column(the number of hows is variably).
Input:
df = {'Name':['Jony', 'Mike', 'Joanna'], 'Color':['Blue', 'Red', 'Green']}
String = 'The favorite color is'
Output:
df = {'Name':['Jony', 'Mike', 'Joanna'], 'Color':['The favorite color is Blue', 'The favorite color is Red', 'The favorite color is Green']}
How can i do it?