Spaces:
Sleeping
Sleeping
added merged historical and future data
Browse files- data/final_afgh_wheat.xlsx +0 -0
- visual_pbi.py +7 -0
data/final_afgh_wheat.xlsx
ADDED
Binary file (7.55 kB). View file
|
|
visual_pbi.py
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import pandas as pd
|
2 |
+
|
3 |
+
merged_df = pd.read_csv('data/afghan_wheatfcasts.csv', parse_dates = ['Date'])
|
4 |
+
df_backtest_ = pd.read_csv('data/aghanwheat_allhistorical.csv', parse_dates=['Date'])
|
5 |
+
# df_backtest_.rename(columns={'date':"Date"},inplace=True)
|
6 |
+
final_maize = pd.merge(df_backtest_,merged_df,on=['Date'],how='outer')
|
7 |
+
final_maize.to_excel('data/final_afgh_wheat.xlsx',index=False)
|