title: how to create new columns and insert the values one by one in python and pandas
body: <p>this is what my table looks like for example</p>
  <pre><code>| Name | post code | 
  | :---:| :-------: |
  | james| DA4 5FH   |
  | Jack | DA5 5FH   |
  | john | DA6 5FH   |
  </code></pre>
  <p>1)i am running a for loop so for each item i want to populate on the excel/csv file by creating new columns and add values to the first row so it looks like this</p>
  <pre><code>| Name | post code | DOB. |  sport    |
  | :---:| :-------: | :---:| :-------: |
  | james| DA4 5FH   |1/1/20| football  |
  | Jack | DA5 5FH   |
  | john | DA6 5FH   |
  </code></pre>
  <ol start="2">
  <li>of course in the second item from the loop i don't want to create the header again because the header DOB and sport already exist</li>
  </ol>
  <pre><code>| Name | post code | DOB. |  sport    |
  | :---:| :-------: | :---:| :-------: |
  | james| DA4 5FH   |1/1/20| football  |
  | Jack | DA5 5FH   |1/1/97| basketball|
  | john | DA6 5FH   |
  </code></pre>
  <p>how can i use panda to insert value to the next row. the first time it will include the headers but the second item will not need to insert the headers</p>