# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

import numpy as np # linear algebra
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)


# +
# P3_7417 = pd.read_csv('../input/sibur-csv/P3_7417.csv',parse_dates=["date"], index_col="date")
# P3_6751 = pd.read_csv('../input/sibur-csv/P3_6751.csv',parse_dates=["date"], index_col="date")
# P4_7745 = pd.read_csv('../input/sibur-csv/P4_7745.csv',parse_dates=["date"], index_col="date")

# +
# P3_7417 = pd.read_csv('../input/sibur-csv/P3_7417.csv',parse_dates=["date"], index_col="date")
# P3_6751 = pd.read_csv('../input/sibur-csv/P3_6751.csv',parse_dates=["date"], index_col="date")
# P4_7745 = pd.read_csv('../input/sibur-csv/P4_7745.csv',parse_dates=["date"], index_col="date")
# -

P3_7417 = pd.read_csv('submit_model1.csv',parse_dates=["date"], index_col="date")
P3_6751 = pd.read_csv('submit_model2.csv',parse_dates=["date"], index_col="date")
P4_7745 = pd.read_csv('submit_model3.csv',parse_dates=["date"], index_col="date")

S = pd.DataFrame()
S['pet4'] = P3_7417['pet']
S['pet3'] = P3_6751['pet']
S['pet2'] = P4_7745['pet']
S['pet'] = S.mean(axis=1)
S.drop(['pet4','pet3','pet2'],axis=1).to_csv('submit_final.csv')

# +
# S = pd.DataFrame()
# S['pet4'] = P3_7417['pet']
# S['pet3'] = P3_6751['pet']
# S['pet'] = S.mean(axis=1)
# S.drop(['pet4','pet3'],axis=1).to_csv('submit_final.csv') # 1.2 scor
# -



S







StarcoderdataJupyterScriptsDedupFiltered