def create_word_list(self, dataframe, col1, col2):
    col1_size = int((dataframe[col1].values.max() + 1))
    col2_list = [[] for _ in range(col1_size)]
    for (val1, val2) in zip(dataframe[col1].values, dataframe[col2].values):
        col2_list[int(val1)].append((col2 + str(val2)))
    return [' '.join(map(str, ls)) for ls in col2_list]
def create_word_list(self, dataframe, col1, col2):
    col1_size = int((dataframe[col1].values.max() + 1))
    col2_list = [[] for _ in range(col1_size)]
    for (val1, val2) in zip(dataframe[col1].values, dataframe[col2].values):
        col2_list[int(val1)].append((col2 + str(val2)))
    return [' '.join(map(str, ls)) for ls in col2_list]