title: how to write data in specific row in CSV file
body: <p>Currently I have a <code>csv</code> file in which the last column, which we can refer to as <code>label</code>, is empty. Here is a picture of the data:
  <a href="https://i.stack.imgur.com/nixAl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nixAl.png" alt="enter image description here"></a></p>
  
  <p>I get predictions through a classifier:</p>
  
  <pre><code>[0.  1.  0.  0.  0.  0.  0.  0.  0.  0.  0.  0.  1.  1.  1.  0.  0.  0.]
  </code></pre>
  
  <p>Thus my question is how to write these predictions into the last column (<code>label</code>)?</p>