title: TextBlob Naive Bayes text classification
body: <p>I'm trying to implement the Naive Bayes classifier on tweets using TextBlob in python. I have been able to train the dataset and can successfully classify individual tweets using:</p>
  
  <pre><code>print cl.classify("text")
  </code></pre>
  
  <p>Now I want to open a csv file and classify all the tweets in that file. Any suggestions on how I can achieve this? My code is as below:</p>
  
  <pre><code>import csv
  from textblob import TextBlob
  
  with open(test_path, 'rU') as csvfile:
      lineReader = csv.reader(csvfile,delimiter=',',quotechar="\"")
      lineReader = csv.reader(csvfile,delimiter=',')
  
      test = []
      for row in lineReader:
        blob = (row[0]) 
        blob = TextBlob(blob)
        test.append([blob])
  
        print (test.classify())
  </code></pre>
  
  <p>AttributeError: 'list' object has no attribute 'classify'</p>