How to append a new column to a CSV file using Python?
<p>I have stored a set of four numbers in an array which I want to add to a CSV file under the 'Score' column.</p>

<pre><code>with open('Player.csv', 'ab') as csvfile:
    fieldnames = ['Score']
    writer = csv.DictWriter(csvfile, fieldnames=fieldnames)

    writer.writeheader()
    for i in range(0, l):
       writer.writerow({'Score': score[i]})
</code></pre>

<p>It appends to the file, but this adds a new row instead of a new column. Could someone guide into appending it into a new column?</p>