title: Error while trying to perform isin while iterating
body: <p>I have 2 data frames and I am trying to get the first value in the column 'name' of one dataframe &amp; then do a isin using that value on the 'name' column of the other dataframe. I am trying to do it like this because, if isin is true, then i want to get the corresponding AGE and match both, then if that also is true, then get the corresponding City &amp; match.</p>
  
  <p>But i am getting the error as below. 
  "TypeError: only list-like objects are allowed to be passed to isin(), you passed a [str]"
  if I just print "row['name']", i get the value of first name but why is it not doing the isin check? what am i missing here?</p>
  
  <pre><code>Df1 = pd.DataFrame({'name': ['Marc', 'Jake', 'Sam', 'Brad'],
                  'Age': ['24', '25', '26', '27'],
                  'City': ['Agra', 'Bangalore', 'Calcutta', 'Delhi']})
  
  Df2 = pd.DataFrame({'name': ['Jake', 'John', 'Marc', 'Tony', 'Bob', 'Marc'],
                  'Age': ['25', '25', '24', '28','29', '39'],
                  'City': ['Bangalore', 'Chennai', 'Agra', 'Delhi','Pune','zoo']})
  
  
  for index, row in Df1.iterrows():
  if Df2.name.isin(row['name'])==True:
      print('present')
  </code></pre>