Update 3 files
- /notebooks/03_Extraction.ipynb - /transform/sqlmesh_materia/models/staging/stg_psd_alldata_1_filter_silver_layer.sql - /transform/sqlmesh_materia/models/staging/stg_psd_alldata_2_filter_gold_layer.sql
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
"\n",
|
||||
"data = \"../data/\"\n",
|
||||
"df = pd.read_csv(\"../data/psd_alldata.csv\", encoding=\"latin1\")\n",
|
||||
"\"\"\"\n",
|
||||
"\n",
|
||||
"df.rename(columns={\n",
|
||||
" 'Commodity_Description': 'commodity',\n",
|
||||
" 'Country_Name': 'country',\n",
|
||||
@@ -115,8 +115,7 @@
|
||||
" 'Total Distribution', 'Ending Stocks', 'Net Supply',\n",
|
||||
" 'Supply-Demand Balance', 'Stock-to-Use Ratio (%)']]\n",
|
||||
"combined_global.to_csv(\"global_summary_all.csv\", index=False)\n",
|
||||
"print(\"🌐 Combined global summary saved as 'global_summary_all.csv'\")\n",
|
||||
"\"\"\""
|
||||
"print(\"🌐 Combined global summary saved as 'global_summary_all.csv'\")\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user