In [1]:
import pandas as pd

In [3]:
model_1 = pd.read_csv("submission_baseLine.csv")

In [4]:
model_2 = pd.read_csv("submission_baseLine_2.csv")

In [14]:
model_1.head()


Out[14]:
id y
0 1 81.988861
1 2 101.171806
2 3 79.773590
3 4 78.951660
4 5 118.671303

In [10]:
average = (model_1.y + model_2.y) / 2

In [16]:
average_df = pd.DataFrame({"id": model_1.id, "y": average })

In [18]:
average_df.to_csv("submission.csv", index=False)

In [ ]: