title: Sentiment analysis on a csv file using textblob
body: <p>I used sentiment analysis on a <code>CSV</code> file and the output prints the polarity and subjectivity of a sentence. How can I get the output in a table format along with the classification of the sentence as positive or negative or neutral added to it?</p>
  
  <pre><code>    import csv
      from textblob import TextBlob
  
      infile = 'sentence.csv'
  
      with open(infile, 'r') as csvfile:
          rows = csv.reader(csvfile)
      for row in rows:
          sentence = row[0]
          blob = TextBlob(sentence)
          print (sentence)
          print (blob.sentiment.polarity, blob.sentiment.subjectivity)
  </code></pre>
  
  <p>the output for my code is :</p>
  
  <pre><code>    i am very happy
      1.0 1.0
      its very sad
      -0.65 1.0
      they are bad
      -0.6999999999999998 0.6666666666666666
      hate the life
      -0.8 0.9
      she is so fantastic
      0.4 0.9
  </code></pre>
  
  <p>Thanks in advance.</p>