System save at 07/10/2024 15:30 by user_client2024

This commit is contained in:
user_client2024 2024-10-07 10:00:12 +00:00
parent 872c2e638c
commit c6ad363a01
3 changed files with 64 additions and 8 deletions

View File

@ -2,9 +2,11 @@
"cells": [
{
"cell_type": "code",
"execution_count": null,
"execution_count": 2,
"id": "e706cfb0-2234-4c4c-95d8-d1968f656aa0",
"metadata": {},
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"from datetime import datetime, timedelta\n",
@ -77,7 +79,6 @@
" total_volume AS \"Total Volume\"\n",
"FROM\n",
" time_windows\n",
"LIMIT 1000\n",
"\"\"\"\n",
"\n",
"\n",
@ -114,6 +115,27 @@
" # final_scenario_df['RUN_DATE'] = final_scenario_df['END_DATE']\n",
" return final_scenario_df\n"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "a34e0bcd-8bcd-4cb1-ba0f-26ac93ac8e69",
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"# sc = Scenario()\n",
"# sc.logic()"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "066a5a72-08d1-4933-a458-91df376311ec",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {

View File

@ -2,9 +2,11 @@
"cells": [
{
"cell_type": "code",
"execution_count": null,
"execution_count": 2,
"id": "e706cfb0-2234-4c4c-95d8-d1968f656aa0",
"metadata": {},
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"from datetime import datetime, timedelta\n",
@ -77,7 +79,6 @@
" total_volume AS \"Total Volume\"\n",
"FROM\n",
" time_windows\n",
"LIMIT 1000\n",
"\"\"\"\n",
"\n",
"\n",
@ -114,6 +115,27 @@
" # final_scenario_df['RUN_DATE'] = final_scenario_df['END_DATE']\n",
" return final_scenario_df\n"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "a34e0bcd-8bcd-4cb1-ba0f-26ac93ac8e69",
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"# sc = Scenario()\n",
"# sc.logic()"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "066a5a72-08d1-4933-a458-91df376311ec",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {

16
main.py
View File

@ -1,7 +1,7 @@
#!/usr/bin/env python
# coding: utf-8
# In[ ]:
# In[2]:
from datetime import datetime, timedelta
@ -74,7 +74,6 @@ SELECT
total_volume AS "Total Volume"
FROM
time_windows
LIMIT 1000
"""
@ -111,3 +110,16 @@ class Scenario:
# final_scenario_df['RUN_DATE'] = final_scenario_df['END_DATE']
return final_scenario_df
# In[4]:
# sc = Scenario()
# sc.logic()
# In[ ]: