title: AttributeError: 'Series' object has no attribute 'iterrows'
body: <pre><code>accounts = pd.read_csv('C:/*******/New_export.txt', sep=",", dtype={'number': object})
  accounts.columns = ["Number", "F"]
  
  for i, j in accounts["Number"].iterrows(): #i represents the row(index number), j is the number
      if (str(j) == "27*******5"):
          print(accounts["F"][i], accounts["Number"][i])
  </code></pre>
  
  <p>I get the following error:</p>
  
  <blockquote>
    <p>AttributeError: 'Series' object has no attribute 'iterrows'</p>
  </blockquote>
  
  <p>I don't quite understand the error since "accounts" is a pandas dataframe. Please assist.</p>