title: How to create list using python and pandas, by reading row by row.?
body: <p>i have a huge CSV file with multiple columns, want to create a list whenever day column match todays date it should read User Agent columns and create a set. </p>
  
  <pre><code>UserAgentsToday = {}
  for row in df:
      print((df.Day == "05/21/2019"))
      if row.["Day"]=="05/21/2019":
          UserAgentsToday.add(row["User Agent"])
  print(UserAgentToday)
  </code></pre>
  
  <p>TypeError: string indices must be integers</p>
  
  <pre><code>UserAgentsToday = {}
  for row in df:
  
      if df["Day"]=="05/21/2019":
          UserAgentsToday.add(row["User Agent"])
  print(UserAgentToday)
  </code></pre>
  
  <p>The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().</p>