doc_sample = documents[documents[\'index\'] == 4310].values[0][0] print(\'original document: \') words = [] for word in doc_sample.split(\' \'): words.append(word)