title: creating multiple pandas dataframes based on a list of values and querying using the OR operator
body: <p>I would like to create multiple pandas dataframes by filtering based on values in a list.</p>
  
  <p>if my list (called month) and dataframe (called df) contains [Jan,Feb,Mar]. Here is my code</p>
  
  <pre><code>month = df.month.unique().tolist()
  for item in month:
      [item] = df[df[month]==[item]]
  </code></pre>
  
  <p>Then if I simply type and run JAN Ipython would show only the january data in tabular form.</p>
  
  <p><strong>Update -- " KeyError: '2014 Jan' "</strong></p>
  
  <p>I first thought this was a spacing issue in the columns values, so I replaced them with underscores, but it also doesn't work in columns which only contain a single word and no spaces?</p>
  
  <p>Any Ideas?</p>