this question has been ask couple of times but none of the answer is working for that what I want.
For example I have this excel Dokument:
Numbers Names Address 1 Ben Street1 2 Anna Street2 3 Tom Street3
Now I want to store only the column Names into one string:
string_text = "Ben Anna Tom" print(string_text)-> Ben Anna Tom
I tried this out:
string_text = str(df['Names'].values) print (text)
and I get:
['Ben' 'Anna' 'Tom']
Is there any option I can get really only the value of each cell and concatenate them together without the apostrophes in between?