[ad_1]
If this two column are same data type , you can just union
a = predictons_lr.select('prediction')
b = predictions_nb.select('prediction')
new_df = a.union(b)
4
[ad_2]
solved How to create a dataframe from two others dataframe?
[ad_1]
If this two column are same data type , you can just union
a = predictons_lr.select('prediction')
b = predictions_nb.select('prediction')
new_df = a.union(b)
4
[ad_2]
solved How to create a dataframe from two others dataframe?