title: Error, 'only list-like objects are allowed to be passed to isin(), you passed a [int]'
body: <p>Following adopted code is just used for example purposes:</p>
  
  <pre><code>data = {'name': ['Jason', 'Molly', 'Tina', 'Jake', 'Amy'],
      'year': [2012, 2012, 2013, 2014, 2014],
      'reports': [4, 24, 31, 2, 3]}
  </code></pre>
  
  <p><code>df = pd.DataFrame(data, index = ['Cochice', 'Pima', 'Santa Cruz', 'Maricopa', 'Yuma'])</code></p>
  
  <p><code>df = pd.DataFrame(data, index = ['Cochice', 'Pima', 'Santa Cruz', 'Maricopa', 'Yuma'])</code></p>
  
  <p><code>value_list = ['Tina', 'Molly', 'Jason']</code></p>
  
  <pre><code>df[df.name.isin(value_list)]
  </code></pre>
  
  <p>Here, it can be seen that a list (i.e., value_list) has been passed. If i don't want to pass a list and just want to pass an integer (i.e, 24 in the reports column to find its corresponding row), what would be the ideal way. I tried to do this, but it actually doesn't works:</p>
  
  <pre><code>df[df.reports.isin(24)]
  </code></pre>
  
  <p>The error comes as: only list-like objects are allowed to be passed to isin(), you passed a [int]. </p>
  
  <p>Also, how can i find the corresponding 'name' against reports 24, (i.e., Molly)</p>