title: How to append new row to dataframe in pandas?
body: <p>This is the code I have used:</p>
  <pre class="lang-py prettyprint-override"><code>iname = &quot;name1&quot;    
  ipassword = &quot;password1&quot;
  iemail = &quot;email@domain.com&quot;
  res1 = []
  df = pd.read_csv(&quot;login.csv&quot;, sep=',', encoding=&quot;utf-8&quot;)
  res1.append(iname,ipassword,iemail)
  print(res1,res2,res3)
  df.to_csv(&quot;login.csv&quot;, index=False)
  </code></pre>
  <p>How to store the name, password and email in the csv file by using <code>pandas</code> dataframe?</p>
  <p><code>login.csv</code>:</p>
  <pre><code>name     password     email
  admin    admin        asdfs
  zds      sd           dsssfsfd
  vipul    rao          dsfdsfs
  </code></pre>