Skip to content

Commit

Permalink
[FIX] Electricity short (#555)
Browse files Browse the repository at this point in the history
  • Loading branch information
elephaint authored Dec 5, 2024
1 parent c8e0c19 commit d9290bc
Show file tree
Hide file tree
Showing 5 changed files with 464 additions and 445 deletions.

Large diffs are not rendered by default.

110 changes: 55 additions & 55 deletions nbs/docs/getting-started/4_data_requirements.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -427,43 +427,43 @@
" <th>0</th>\n",
" <td>BE</td>\n",
" <td>2016-12-31 00:00:00</td>\n",
" <td>45.191200</td>\n",
" <td>45.190582</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>BE</td>\n",
" <td>2016-12-31 01:00:00</td>\n",
" <td>43.245210</td>\n",
" <td>43.244987</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>BE</td>\n",
" <td>2016-12-31 02:00:00</td>\n",
" <td>41.959000</td>\n",
" <td>41.958897</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>BE</td>\n",
" <td>2016-12-31 03:00:00</td>\n",
" <td>39.797043</td>\n",
" <td>39.796680</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>BE</td>\n",
" <td>2016-12-31 04:00:00</td>\n",
" <td>39.205093</td>\n",
" <td>39.204865</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" unique_id ds TimeGPT\n",
"0 BE 2016-12-31 00:00:00 45.191200\n",
"1 BE 2016-12-31 01:00:00 43.245210\n",
"2 BE 2016-12-31 02:00:00 41.959000\n",
"3 BE 2016-12-31 03:00:00 39.797043\n",
"4 BE 2016-12-31 04:00:00 39.205093"
"0 BE 2016-12-31 00:00:00 45.190582\n",
"1 BE 2016-12-31 01:00:00 43.244987\n",
"2 BE 2016-12-31 02:00:00 41.958897\n",
"3 BE 2016-12-31 03:00:00 39.796680\n",
"4 BE 2016-12-31 04:00:00 39.204865"
]
},
"execution_count": null,
Expand Down Expand Up @@ -541,96 +541,96 @@
" <tr>\n",
" <th>0</th>\n",
" <td>BE</td>\n",
" <td>2011-01-09 00:00:00</td>\n",
" <td>32.54</td>\n",
" <td>63000.0</td>\n",
" <td>63065.0</td>\n",
" <td>0.0</td>\n",
" <td>2016-10-22 00:00:00</td>\n",
" <td>70.00</td>\n",
" <td>57253.0</td>\n",
" <td>49593.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>1.0</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>BE</td>\n",
" <td>2011-01-09 01:00:00</td>\n",
" <td>21.55</td>\n",
" <td>58800.0</td>\n",
" <td>62715.0</td>\n",
" <td>0.0</td>\n",
" <td>2016-10-22 01:00:00</td>\n",
" <td>37.10</td>\n",
" <td>51887.0</td>\n",
" <td>46073.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>1.0</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>BE</td>\n",
" <td>2011-01-09 02:00:00</td>\n",
" <td>15.71</td>\n",
" <td>58500.0</td>\n",
" <td>61952.0</td>\n",
" <td>0.0</td>\n",
" <td>2016-10-22 02:00:00</td>\n",
" <td>37.10</td>\n",
" <td>51896.0</td>\n",
" <td>44927.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>1.0</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>BE</td>\n",
" <td>2011-01-09 03:00:00</td>\n",
" <td>10.58</td>\n",
" <td>54300.0</td>\n",
" <td>59262.0</td>\n",
" <td>0.0</td>\n",
" <td>2016-10-22 03:00:00</td>\n",
" <td>44.75</td>\n",
" <td>48428.0</td>\n",
" <td>44483.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>1.0</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>BE</td>\n",
" <td>2011-01-09 04:00:00</td>\n",
" <td>10.32</td>\n",
" <td>51900.0</td>\n",
" <td>56883.0</td>\n",
" <td>0.0</td>\n",
" <td>2016-10-22 04:00:00</td>\n",
" <td>37.10</td>\n",
" <td>46721.0</td>\n",
" <td>44338.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>0.0</td>\n",
" <td>1.0</td>\n",
" <td>0.0</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" unique_id ds y Exogenous1 Exogenous2 day_0 day_1 \\\n",
"0 BE 2011-01-09 00:00:00 32.54 63000.0 63065.0 0.0 0.0 \n",
"1 BE 2011-01-09 01:00:00 21.55 58800.0 62715.0 0.0 0.0 \n",
"2 BE 2011-01-09 02:00:00 15.71 58500.0 61952.0 0.0 0.0 \n",
"3 BE 2011-01-09 03:00:00 10.58 54300.0 59262.0 0.0 0.0 \n",
"4 BE 2011-01-09 04:00:00 10.32 51900.0 56883.0 0.0 0.0 \n",
"0 BE 2016-10-22 00:00:00 70.00 57253.0 49593.0 0.0 0.0 \n",
"1 BE 2016-10-22 01:00:00 37.10 51887.0 46073.0 0.0 0.0 \n",
"2 BE 2016-10-22 02:00:00 37.10 51896.0 44927.0 0.0 0.0 \n",
"3 BE 2016-10-22 03:00:00 44.75 48428.0 44483.0 0.0 0.0 \n",
"4 BE 2016-10-22 04:00:00 37.10 46721.0 44338.0 0.0 0.0 \n",
"\n",
" day_2 day_3 day_4 day_5 day_6 \n",
"0 0.0 0.0 0.0 0.0 1.0 \n",
"1 0.0 0.0 0.0 0.0 1.0 \n",
"2 0.0 0.0 0.0 0.0 1.0 \n",
"3 0.0 0.0 0.0 0.0 1.0 \n",
"4 0.0 0.0 0.0 0.0 1.0 "
"0 0.0 0.0 0.0 1.0 0.0 \n",
"1 0.0 0.0 0.0 1.0 0.0 \n",
"2 0.0 0.0 0.0 1.0 0.0 \n",
"3 0.0 0.0 0.0 1.0 0.0 \n",
"4 0.0 0.0 0.0 1.0 0.0 "
]
},
"execution_count": null,
Expand Down Expand Up @@ -837,43 +837,43 @@
" <th>0</th>\n",
" <td>BE</td>\n",
" <td>2016-12-31 00:00:00</td>\n",
" <td>46.036015</td>\n",
" <td>51.632830</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>BE</td>\n",
" <td>2016-12-31 01:00:00</td>\n",
" <td>39.670720</td>\n",
" <td>45.750877</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>BE</td>\n",
" <td>2016-12-31 02:00:00</td>\n",
" <td>42.782120</td>\n",
" <td>39.650543</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>BE</td>\n",
" <td>2016-12-31 03:00:00</td>\n",
" <td>33.456580</td>\n",
" <td>34.000072</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>BE</td>\n",
" <td>2016-12-31 04:00:00</td>\n",
" <td>33.013958</td>\n",
" <td>33.785370</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" unique_id ds TimeGPT\n",
"0 BE 2016-12-31 00:00:00 46.036015\n",
"1 BE 2016-12-31 01:00:00 39.670720\n",
"2 BE 2016-12-31 02:00:00 42.782120\n",
"3 BE 2016-12-31 03:00:00 33.456580\n",
"4 BE 2016-12-31 04:00:00 33.013958"
"0 BE 2016-12-31 00:00:00 51.632830\n",
"1 BE 2016-12-31 01:00:00 45.750877\n",
"2 BE 2016-12-31 02:00:00 39.650543\n",
"3 BE 2016-12-31 03:00:00 34.000072\n",
"4 BE 2016-12-31 04:00:00 33.785370"
]
},
"execution_count": null,
Expand Down
Loading

0 comments on commit d9290bc

Please sign in to comment.