Export dataset with predicted target - Python
If you are just looking for generating Confusion Matrix, then you can try using this command:

#for generating confusion matrix    
sklearn.metrics.confusion_matrix(y_true, y_pred, labels=None, sample_weight=None)


If you are just looking for binding predicted and actual values, you can use this command

#For Arrays you can use this
numpy.concatenate() 

#for dataframe you can use this
DataFrame.append(other, ignore_index=False, verify_integrity=False)[source]


for better understaning you can go through this Link-1,Link-2,Link-3