Spaces:
Sleeping
Sleeping
File size: 377 Bytes
dfb80df 0d08368 |
1 2 3 4 5 6 7 8 |
import pandas as pd
merged_df = pd.read_csv('data/afghan_wheatfcasts.csv', parse_dates = ['Date'])
df_backtest_ = pd.read_csv('data/aghanwheat_allhistorical.csv', parse_dates=['Date'])
# df_backtest_.rename(columns={'date':"Date"},inplace=True)
final_wheat = pd.merge(df_backtest_,merged_df,on=['Date'],how='outer')
final_wheat.to_csv('data/final_afgh_wheat.csv',index=False)
|