Last active
August 9, 2020 02:56
-
-
Save AnasAlmasri/64c2b99bd86c50e6df2132497ed9f474 to your computer and use it in GitHub Desktop.
Test out buildTestSet() function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
search_term = input("Enter a search keyword:") | |
testDataSet = buildTestSet(search_term) | |
print(testDataSet[0:4]) |
Getting the same error :/
TypeError: 'NoneType' object is not subscriptable
Please anyone help
While executing the code;
search_term = input('Enter a search keyword:')
#Try removing the 'input' and just enter some real keyword inside the quotes.
e.g. search_term = 'sentiment'
Hope this will help.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
its not running
File "D:/tweet analysis/sentiment.py", line 31, in
print(testDataSet[0:4])
TypeError: 'NoneType' object is not subscriptable
#help me plz