I'm having trouble with passing in the tweets for my sentiment analyzer. It works fine, but I would like it to read through the tweets in the .csv file, and I'm stuck at the moment.
You can use this statement file = pd.read_csv(fileName, lineterminator='\n') provided by Dr. Stonedahl in one of his emails. You will need to import pandas as pd for that one to work.
I've used that code, but I think I may have done it incorrectly. I'll try it again. Thanks!
You should let pandas read the csv file first. Then you can put the tweets in a list and use a for loop to read them all. Does that answer your question?