You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
print('original document: ')
words = []
for word in doc_sample.split(' '):
words.append(word)
print(words)
print('\n\n tokenized and lemmatized document: ')
print(preprocess(doc_sample))
when I am running these lines in my document its showing indexerror please help
IndexError: index 0 is out of bounds for axis 0 with size 0
The text was updated successfully, but these errors were encountered:
doc_sample = documents[documents['index'] == 4310].values[0][0]
print('original document: ')
words = []
for word in doc_sample.split(' '):
words.append(word)
print(words)
print('\n\n tokenized and lemmatized document: ')
print(preprocess(doc_sample))
when I am running these lines in my document its showing indexerror please help
IndexError: index 0 is out of bounds for axis 0 with size 0
The text was updated successfully, but these errors were encountered: