1# Split a phrase in all rows of a column and make a list of the first word23list_data = [dataset_name.column_name.str.split(' ')[index][0]
4for index inrange(0, len(dataset_name))]
5print(list_data)
you will get a confirmation link on this - you will have to click that for successful submission of your answer. we require this to keep the website free of spam, bots and unhelpful content
please ensure to add code which is syntactically corrent and executes properly
you will get a confirmation link on this - you will have to click that for successful submission of your question. we require this to keep the website free of spam, bots and unhelpful content