Currently I have a csv file in which the last column, which we can refer to as label, is empty. Here is a picture of the data:

I get predictions through a classifier:
[0. 1. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. 0. 0.]
Thus my question is how to write these predictions into the last column (label)?