Untitled
def unique_word_list(data, column): str2 ='' for i in data[column]: str1 = ' '.join(i) str2 = str2+ ' ' + str1 train_data_list = set(str2.split()) unique_train_data_word = list(train_data_list) return unique_train_data_word
def unique_word_list(data, column): str2 ='' for i in data[column]: str1 = ' '.join(i) str2 = str2+ ' ' + str1 train_data_list = set(str2.split()) unique_train_data_word = list(train_data_list) return unique_train_data_word