{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Dateneinrichtung\n", "\n", "In diesem Notebook zeigen wir, wie man:\n", "- Zeitreihendaten für dieses Modul einrichtet\n", "- die Daten visualisiert\n", "\n", "Die Daten in diesem Beispiel stammen aus dem GEFCom2014-Vorhersagewettbewerb. Sie bestehen aus 3 Jahren stündlicher Stromlast- und Temperaturwerte zwischen 2012 und 2014.\n", "\n", "Tao Hong, Pierre Pinson, Shu Fan, Hamidreza Zareipour, Alberto Troccoli und Rob J. Hyndman, \"Probabilistic energy forecasting: Global Energy Forecasting Competition 2014 and beyond\", International Journal of Forecasting, Bd. 32, Nr. 3, S. 896-913, Juli-September, 2016.\n" ] }, { "cell_type": "code", "execution_count": 6, "metadata": {}, "outputs": [], "source": [ "import os\n", "import matplotlib.pyplot as plt\n", "from common.utils import load_data\n", "%matplotlib inline" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Laden Sie die Daten aus der CSV-Datei in ein Pandas-DataFrame.\n" ] }, { "cell_type": "code", "execution_count": 7, "metadata": {}, "outputs": [ { "output_type": "execute_result", "data": { "text/plain": [ " load\n", "2012-01-01 00:00:00 2698.0\n", "2012-01-01 01:00:00 2558.0\n", "2012-01-01 02:00:00 2444.0\n", "2012-01-01 03:00:00 2402.0\n", "2012-01-01 04:00:00 2403.0" ], "text/html": "
\n | load | \n
---|---|
2012-01-01 00:00:00 | \n2698.0 | \n
2012-01-01 01:00:00 | \n2558.0 | \n
2012-01-01 02:00:00 | \n2444.0 | \n
2012-01-01 03:00:00 | \n2402.0 | \n
2012-01-01 04:00:00 | \n2403.0 | \n