title: pandas for python creates multiple index columns when saving df in csv
body: <p>When I iterate this code over, pandas keeps creating new index columns in my csv.</p>
  <pre><code>import pandas as pd
  
  credentials = pd.read_csv(&quot;credentials.csv&quot;)
  
  email = &quot;jarda@yahoo.cz&quot;
  nick = &quot;jarda&quot;
  passw = &quot;heslo&quot;
  csfd_conf_link = &quot;test.link&quot;
  
  dict_to_append = {&quot;nick&quot;: nick, &quot;pass&quot;: passw, &quot;email&quot;: email, &quot;conf_link&quot;: csfd_conf_link}
  
  credentials_updated = credentials.append(dict_to_append, ignore_index=True)
  credentials_updated.to_csv(&quot;credentials.csv&quot;)
  </code></pre>
  <p>So it ends up looking like this <a href="https://i.stack.imgur.com/T0FNQ.png" rel="nofollow noreferrer">this</a> (better visible in the screenshot):</p>
  <pre><code>   Unnamed: 0  Unnamed: 0.1  ...                         email                                          conf_link
  0           0           0.0  ...                adam@seznam.cz                                               test
  1           1           1.0  ...                 pepa@gmail.cz                                               test
  2           2           2.0  ...  philbake.da.murt.l@gmail.com  https://www.csfd.cz/potvrzeni/registration/?co...
  3           3           3.0  ...                jarda@yahoo.cz                                          test.link
  4           4           4.0  ...                jarda@yahoo.cz                                          test.link
  5           5           5.0  ...                jarda@yahoo.cz                                          test.link
  6           6           NaN  ...                jarda@yahoo.cz                                          test.link
  </code></pre>
  <p>I know that indexing can be turned of with <code>credentials_updated.to_csv(&quot;credentials.csv&quot;, index=False)</code>. However, what if I wanted to have the columns indexed?
  Any help would be appreciated. Thanks.</p>