title: How to remove stop words from list of lists in python
body: <p>I have a set of tweets that is formatted as a list of lists. The code I used works to remove the stop words, but it doesn't return a list of lists, but rather one big list. I need it to stay as a list of lists to do naive bayes later, so how can I change it?</p>
  
  <pre><code>from nltk.corpus import stopwords
  stop_words = set(stopwords.words('english'))
  
  OAGTokensWOStop = []
  for i in range(2708):
      for tweet in OAG_Tokenized[i]:
          if tweet not in stop_words:
              OAGTokensWOStop.append(tweet)
  </code></pre>
  
  <p>I received on big list with all the words sans stop words, but I need the output to remain as a list of lists.</p>