{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "import os\n", "\n", "import matplotlib.pyplot as plt\n", "import pandas as pd\n", "import plotly.express as px\n", "from plotly.subplots import make_subplots\n", "from scipy import stats" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [], "source": [ "df = {}\n", "\n", "csv_file = \"coal_price_data.csv\"\n", "csv_date = \"date\"\n", "csv_file = csv_file.split(\".\")[0]\n", "df[csv_file] = pd.read_csv(f\"../coal-price-data/{csv_file}.csv\")\n", "df[csv_file][\"datetime\"] = pd.to_datetime(\n", " df[csv_file][csv_date], format=\"%b-%y\"\n", ")\n", "\n", "csv_file = \"gdp_indonesia.csv\"\n", "csv_date = \"date\"\n", "csv_date_format = \"%Y\"\n", "csv_file = csv_file.split(\".\")[0]\n", "df[csv_file] = pd.read_csv(f\"../coal-price-data/worldbank/{csv_file}.csv\")\n", "df[csv_file][\"datetime\"] = pd.to_datetime(\n", " df[csv_file][csv_date], format=csv_date_format\n", ")\n", "\n", "csv_path = \"../coal-price-data/fred/\"\n", "csv_date = \"DATE\"\n", "csv_date_start = \"2011-11-01\"\n", "csv_date_end = \"2023-12-01\"\n", "csv_list = os.listdir(csv_path)\n", "for csv_file in csv_list:\n", " csv_file = csv_file.split(\".\")[0]\n", " df[csv_file] = pd.read_csv(f\"../coal-price-data/fred/{csv_file}.csv\")\n", " df[csv_file][\"datetime\"] = pd.to_datetime(\n", " df[csv_file][csv_date], format=\"%Y-%m-%d\"\n", " )\n", " # df[csv_file] = df[csv_file].loc[\n", " # (df[csv_file][\"datetime\"] >= csv_date_start)\n", " # & (df[csv_file][\"datetime\"] < csv_date_end)\n", " # ]" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "date 2022\n", "gdp 1319100220407.719971\n", "datetime 2022-01-01 00:00:00\n", "dtype: object" ] }, "execution_count": 3, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df[\"gdp_indonesia\"].max()" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [], "source": [ "df[\"gdp_indonesia\"] = df[\"gdp_indonesia\"].loc[\n", " (df[\"gdp_indonesia\"][\"datetime\"] >= \"1990-01-01\")\n", " & (df[\"gdp_indonesia\"][\"datetime\"] < \"2022-02-01\")\n", "]" ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "date 2022\n", "gdp 1319100220407.719971\n", "datetime 2022-01-01 00:00:00\n", "dtype: object" ] }, "execution_count": 5, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df[\"gdp_indonesia\"].max()" ] }, { "cell_type": "code", "execution_count": 6, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { "plotlyServerURL": "https://plot.ly" }, "data": [ { "hovertemplate": "datetime=%{x}
gdp=%{y}", "legendgroup": "", "line": { "color": "#636efa", "dash": "solid" }, "marker": { "symbol": "circle" }, "mode": "lines", "name": "", "orientation": "v", "showlegend": false, "type": "scatter", "x": [ "1990-01-01T00:00:00", "1991-01-01T00:00:00", "1992-01-01T00:00:00", "1993-01-01T00:00:00", "1994-01-01T00:00:00", "1995-01-01T00:00:00", "1996-01-01T00:00:00", "1997-01-01T00:00:00", "1998-01-01T00:00:00", "1999-01-01T00:00:00", "2000-01-01T00:00:00", "2001-01-01T00:00:00", "2002-01-01T00:00:00", "2003-01-01T00:00:00", "2004-01-01T00:00:00", "2005-01-01T00:00:00", "2006-01-01T00:00:00", "2007-01-01T00:00:00", "2008-01-01T00:00:00", "2009-01-01T00:00:00", "2010-01-01T00:00:00", "2011-01-01T00:00:00", "2012-01-01T00:00:00", "2013-01-01T00:00:00", "2014-01-01T00:00:00", "2015-01-01T00:00:00", "2016-01-01T00:00:00", "2017-01-01T00:00:00", "2018-01-01T00:00:00", "2019-01-01T00:00:00", "2020-01-01T00:00:00", "2021-01-01T00:00:00", "2022-01-01T00:00:00" ], "xaxis": "x", "y": [ 106140727333.636, 116621996217.133, 128026966579.964, 158006700301.533, 176892143931.505, 202132028723.115, 227369679374.973, 215748998609.635, 95445547872.715, 140001351215.462, 165021012077.81, 160446947784.909, 195660611165.183, 234772463823.808, 256836875295.452, 285868619196.085, 364570515618.357, 432216737774.861, 510228634990.598, 539580085616.492, 755094157621.936, 892969104563.171, 917869913332.649, 912524136718.018, 890814755533.537, 860854232686.214, 931877364037.698, 1015618744159.73, 1042271532988.63, 1119099871350.2, 1059054842698.48, 1186505455736.54, 1319100220407.72 ], "yaxis": "y" } ], "layout": { "font": { "size": 18 }, "height": 400, "legend": { "tracegroupgap": 0 }, "margin": { "t": 60 }, "template": { "data": { "bar": [ { "error_x": { "color": "rgb(36,36,36)" }, "error_y": { "color": "rgb(36,36,36)" }, "marker": { "line": { "color": "white", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "bar" } ], "barpolar": [ { "marker": { "line": { "color": "white", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "barpolar" } ], "carpet": [ { "aaxis": { "endlinecolor": "rgb(36,36,36)", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "rgb(36,36,36)" }, "baxis": { "endlinecolor": "rgb(36,36,36)", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "rgb(36,36,36)" }, "type": "carpet" } ], "choropleth": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "type": "choropleth" } ], "contour": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "contour" } ], "contourcarpet": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "type": "contourcarpet" } ], "heatmap": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "heatmap" } ], "heatmapgl": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "heatmapgl" } ], "histogram": [ { "marker": { "line": { "color": "white", "width": 0.6 } }, "type": "histogram" } ], "histogram2d": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "histogram2d" } ], "histogram2dcontour": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "histogram2dcontour" } ], "mesh3d": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "type": "mesh3d" } ], "parcoords": [ { "line": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "parcoords" } ], "pie": [ { "automargin": true, "type": "pie" } ], "scatter": [ { "fillpattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 }, "type": "scatter" } ], "scatter3d": [ { "line": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scatter3d" } ], "scattercarpet": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scattercarpet" } ], "scattergeo": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scattergeo" } ], "scattergl": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scattergl" } ], "scattermapbox": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scattermapbox" } ], "scatterpolar": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scatterpolar" } ], "scatterpolargl": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scatterpolargl" } ], "scatterternary": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scatterternary" } ], "surface": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "surface" } ], "table": [ { "cells": { "fill": { "color": "rgb(237,237,237)" }, "line": { "color": "white" } }, "header": { "fill": { "color": "rgb(217,217,217)" }, "line": { "color": "white" } }, "type": "table" } ] }, "layout": { "annotationdefaults": { "arrowhead": 0, "arrowwidth": 1 }, "autotypenumbers": "strict", "coloraxis": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "colorscale": { "diverging": [ [ 0, "rgb(103,0,31)" ], [ 0.1, "rgb(178,24,43)" ], [ 0.2, "rgb(214,96,77)" ], [ 0.3, "rgb(244,165,130)" ], [ 0.4, "rgb(253,219,199)" ], [ 0.5, "rgb(247,247,247)" ], [ 0.6, "rgb(209,229,240)" ], [ 0.7, "rgb(146,197,222)" ], [ 0.8, "rgb(67,147,195)" ], [ 0.9, "rgb(33,102,172)" ], [ 1, "rgb(5,48,97)" ] ], "sequential": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "sequentialminus": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ] }, "colorway": [ "#1F77B4", "#FF7F0E", "#2CA02C", "#D62728", "#9467BD", "#8C564B", "#E377C2", "#7F7F7F", "#BCBD22", "#17BECF" ], "font": { "color": "rgb(36,36,36)" }, "geo": { "bgcolor": "white", "lakecolor": "white", "landcolor": "white", "showlakes": true, "showland": true, "subunitcolor": "white" }, "hoverlabel": { "align": "left" }, "hovermode": "closest", "mapbox": { "style": "light" }, "paper_bgcolor": "white", "plot_bgcolor": "white", "polar": { "angularaxis": { "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside" }, "bgcolor": "white", "radialaxis": { "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside" } }, "scene": { "xaxis": { "backgroundcolor": "white", "gridcolor": "rgb(232,232,232)", "gridwidth": 2, "linecolor": "rgb(36,36,36)", "showbackground": true, "showgrid": false, "showline": true, "ticks": "outside", "zeroline": false, "zerolinecolor": "rgb(36,36,36)" }, "yaxis": { "backgroundcolor": "white", "gridcolor": "rgb(232,232,232)", "gridwidth": 2, "linecolor": "rgb(36,36,36)", "showbackground": true, "showgrid": false, "showline": true, "ticks": "outside", "zeroline": false, "zerolinecolor": "rgb(36,36,36)" }, "zaxis": { "backgroundcolor": "white", "gridcolor": "rgb(232,232,232)", "gridwidth": 2, "linecolor": "rgb(36,36,36)", "showbackground": true, "showgrid": false, "showline": true, "ticks": "outside", "zeroline": false, "zerolinecolor": "rgb(36,36,36)" } }, "shapedefaults": { "fillcolor": "black", "line": { "width": 0 }, "opacity": 0.3 }, "ternary": { "aaxis": { "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside" }, "baxis": { "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside" }, "bgcolor": "white", "caxis": { "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside" } }, "title": { "x": 0.05 }, "xaxis": { "automargin": true, "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside", "title": { "standoff": 15 }, "zeroline": false, "zerolinecolor": "rgb(36,36,36)" }, "yaxis": { "automargin": true, "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside", "title": { "standoff": 15 }, "zeroline": false, "zerolinecolor": "rgb(36,36,36)" } } }, "title": { "text": "GDP Indonesia by World Bank (USD)", "x": 0.5 }, "width": 650, "xaxis": { "anchor": "y", "domain": [ 0, 1 ], "title": { "text": "datetime" } }, "yaxis": { "anchor": "x", "domain": [ 0, 1 ], "title": { "text": "gdp" } } } } }, "metadata": {}, "output_type": "display_data" } ], "source": [ "y = \"gdp\"\n", "fig = px.line(\n", " df[\"gdp_indonesia\"], x=\"datetime\", y=y, labels={\"Month\": \"Date\"}\n", ")\n", "fig.update_layout(\n", " template=\"simple_white\",\n", " font=dict(size=18),\n", " title_text=\"GDP Indonesia by World Bank (USD)\",\n", " width=650,\n", " title_x=0.5,\n", " height=400,\n", ")\n", "fig.show()" ] }, { "cell_type": "code", "execution_count": 7, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
DATEIDNRECMdatetime
01990-02-011.01990-02-01
11990-03-011.01990-03-01
21990-04-011.01990-04-01
31990-05-011.01990-05-01
41990-06-011.01990-06-01
............
3832022-01-010.02022-01-01
3842022-02-010.02022-02-01
3852022-03-010.02022-03-01
3862022-04-010.02022-04-01
3872022-05-010.02022-05-01
\n", "

388 rows × 3 columns

\n", "
" ], "text/plain": [ " DATE IDNRECM datetime\n", "0 1990-02-01 1.0 1990-02-01\n", "1 1990-03-01 1.0 1990-03-01\n", "2 1990-04-01 1.0 1990-04-01\n", "3 1990-05-01 1.0 1990-05-01\n", "4 1990-06-01 1.0 1990-06-01\n", ".. ... ... ...\n", "383 2022-01-01 0.0 2022-01-01\n", "384 2022-02-01 0.0 2022-02-01\n", "385 2022-03-01 0.0 2022-03-01\n", "386 2022-04-01 0.0 2022-04-01\n", "387 2022-05-01 0.0 2022-05-01\n", "\n", "[388 rows x 3 columns]" ] }, "execution_count": 7, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df[\"IDNRECM\"]" ] }, { "cell_type": "code", "execution_count": 8, "metadata": {}, "outputs": [], "source": [ "df[\"IDNRECM\"] = df[\"IDNRECM\"].loc[\n", " (df[\"IDNRECM\"][\"datetime\"] >= \"1990-01-01\")\n", " & (df[\"IDNRECM\"][\"datetime\"] < \"2022-02-01\")\n", "]" ] }, { "cell_type": "code", "execution_count": 9, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
DATEIDNRECMdatetime
01990-02-011.01990-02-01
11990-03-011.01990-03-01
21990-04-011.01990-04-01
31990-05-011.01990-05-01
41990-06-011.01990-06-01
............
3792021-09-010.02021-09-01
3802021-10-010.02021-10-01
3812021-11-010.02021-11-01
3822021-12-010.02021-12-01
3832022-01-010.02022-01-01
\n", "

384 rows × 3 columns

\n", "
" ], "text/plain": [ " DATE IDNRECM datetime\n", "0 1990-02-01 1.0 1990-02-01\n", "1 1990-03-01 1.0 1990-03-01\n", "2 1990-04-01 1.0 1990-04-01\n", "3 1990-05-01 1.0 1990-05-01\n", "4 1990-06-01 1.0 1990-06-01\n", ".. ... ... ...\n", "379 2021-09-01 0.0 2021-09-01\n", "380 2021-10-01 0.0 2021-10-01\n", "381 2021-11-01 0.0 2021-11-01\n", "382 2021-12-01 0.0 2021-12-01\n", "383 2022-01-01 0.0 2022-01-01\n", "\n", "[384 rows x 3 columns]" ] }, "execution_count": 9, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df[\"IDNRECM\"]" ] }, { "cell_type": "code", "execution_count": 10, "metadata": {}, "outputs": [], "source": [ "df[\"IDNRECM\"] = df[\"IDNRECM\"][df[\"IDNRECM\"]['datetime'].dt.month == 1]" ] }, { "cell_type": "code", "execution_count": 11, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
DATEIDNRECMdatetime
111991-01-011.01991-01-01
231992-01-011.01992-01-01
351993-01-011.01993-01-01
471994-01-010.01994-01-01
591995-01-010.01995-01-01
\n", "
" ], "text/plain": [ " DATE IDNRECM datetime\n", "11 1991-01-01 1.0 1991-01-01\n", "23 1992-01-01 1.0 1992-01-01\n", "35 1993-01-01 1.0 1993-01-01\n", "47 1994-01-01 0.0 1994-01-01\n", "59 1995-01-01 0.0 1995-01-01" ] }, "execution_count": 11, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df[\"IDNRECM\"].head()" ] }, { "cell_type": "code", "execution_count": 12, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "/var/folders/fj/ycln97zn6b1ckstg6ksdmgl80000gp/T/ipykernel_16548/2627926293.py:1: SettingWithCopyWarning:\n", "\n", "\n", "A value is trying to be set on a copy of a slice from a DataFrame.\n", "Try using .loc[row_indexer,col_indexer] = value instead\n", "\n", "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n", "\n" ] } ], "source": [ "df[\"IDNRECM\"]['Result'] = df[\"IDNRECM\"]['IDNRECM'].apply(lambda x: 1319100220407 if x>0 else 0)" ] }, { "cell_type": "code", "execution_count": 13, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { "plotlyServerURL": "https://plot.ly" }, "data": [ { "fillpattern": { "shape": "" }, "hovertemplate": "datetime=%{x}
IDNRECM=%{y}", "legendgroup": "", "line": { "color": "#636efa" }, "marker": { "symbol": "circle" }, "mode": "lines", "name": "", "orientation": "v", "showlegend": false, "stackgroup": "1", "type": "scatter", "x": [ "1991-01-01T00:00:00", "1992-01-01T00:00:00", "1993-01-01T00:00:00", "1994-01-01T00:00:00", "1995-01-01T00:00:00", "1996-01-01T00:00:00", "1997-01-01T00:00:00", "1998-01-01T00:00:00", "1999-01-01T00:00:00", "2000-01-01T00:00:00", "2001-01-01T00:00:00", "2002-01-01T00:00:00", "2003-01-01T00:00:00", "2004-01-01T00:00:00", "2005-01-01T00:00:00", "2006-01-01T00:00:00", "2007-01-01T00:00:00", "2008-01-01T00:00:00", "2009-01-01T00:00:00", "2010-01-01T00:00:00", "2011-01-01T00:00:00", "2012-01-01T00:00:00", "2013-01-01T00:00:00", "2014-01-01T00:00:00", "2015-01-01T00:00:00", "2016-01-01T00:00:00", "2017-01-01T00:00:00", "2018-01-01T00:00:00", "2019-01-01T00:00:00", "2020-01-01T00:00:00", "2021-01-01T00:00:00", "2022-01-01T00:00:00" ], "xaxis": "x", "y": [ 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0 ], "yaxis": "y" } ], "layout": { "bargap": 0, "font": { "size": 18 }, "height": 400, "legend": { "tracegroupgap": 0 }, "margin": { "t": 60 }, "template": { "data": { "bar": [ { "error_x": { "color": "rgb(36,36,36)" }, "error_y": { "color": "rgb(36,36,36)" }, "marker": { "line": { "color": "white", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "bar" } ], "barpolar": [ { "marker": { "line": { "color": "white", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "barpolar" } ], "carpet": [ { "aaxis": { "endlinecolor": "rgb(36,36,36)", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "rgb(36,36,36)" }, "baxis": { "endlinecolor": "rgb(36,36,36)", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "rgb(36,36,36)" }, "type": "carpet" } ], "choropleth": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "type": "choropleth" } ], "contour": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "contour" } ], "contourcarpet": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "type": "contourcarpet" } ], "heatmap": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "heatmap" } ], "heatmapgl": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "heatmapgl" } ], "histogram": [ { "marker": { "line": { "color": "white", "width": 0.6 } }, "type": "histogram" } ], "histogram2d": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "histogram2d" } ], "histogram2dcontour": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "histogram2dcontour" } ], "mesh3d": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "type": "mesh3d" } ], "parcoords": [ { "line": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "parcoords" } ], "pie": [ { "automargin": true, "type": "pie" } ], "scatter": [ { "fillpattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 }, "type": "scatter" } ], "scatter3d": [ { "line": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scatter3d" } ], "scattercarpet": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scattercarpet" } ], "scattergeo": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scattergeo" } ], "scattergl": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scattergl" } ], "scattermapbox": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scattermapbox" } ], "scatterpolar": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scatterpolar" } ], "scatterpolargl": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scatterpolargl" } ], "scatterternary": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scatterternary" } ], "surface": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "surface" } ], "table": [ { "cells": { "fill": { "color": "rgb(237,237,237)" }, "line": { "color": "white" } }, "header": { "fill": { "color": "rgb(217,217,217)" }, "line": { "color": "white" } }, "type": "table" } ] }, "layout": { "annotationdefaults": { "arrowhead": 0, "arrowwidth": 1 }, "autotypenumbers": "strict", "coloraxis": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "colorscale": { "diverging": [ [ 0, "rgb(103,0,31)" ], [ 0.1, "rgb(178,24,43)" ], [ 0.2, "rgb(214,96,77)" ], [ 0.3, "rgb(244,165,130)" ], [ 0.4, "rgb(253,219,199)" ], [ 0.5, "rgb(247,247,247)" ], [ 0.6, "rgb(209,229,240)" ], [ 0.7, "rgb(146,197,222)" ], [ 0.8, "rgb(67,147,195)" ], [ 0.9, "rgb(33,102,172)" ], [ 1, "rgb(5,48,97)" ] ], "sequential": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "sequentialminus": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ] }, "colorway": [ "#1F77B4", "#FF7F0E", "#2CA02C", "#D62728", "#9467BD", "#8C564B", "#E377C2", "#7F7F7F", "#BCBD22", "#17BECF" ], "font": { "color": "rgb(36,36,36)" }, "geo": { "bgcolor": "white", "lakecolor": "white", "landcolor": "white", "showlakes": true, "showland": true, "subunitcolor": "white" }, "hoverlabel": { "align": "left" }, "hovermode": "closest", "mapbox": { "style": "light" }, "paper_bgcolor": "white", "plot_bgcolor": "white", "polar": { "angularaxis": { "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside" }, "bgcolor": "white", "radialaxis": { "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside" } }, "scene": { "xaxis": { "backgroundcolor": "white", "gridcolor": "rgb(232,232,232)", "gridwidth": 2, "linecolor": "rgb(36,36,36)", "showbackground": true, "showgrid": false, "showline": true, "ticks": "outside", "zeroline": false, "zerolinecolor": "rgb(36,36,36)" }, "yaxis": { "backgroundcolor": "white", "gridcolor": "rgb(232,232,232)", "gridwidth": 2, "linecolor": "rgb(36,36,36)", "showbackground": true, "showgrid": false, "showline": true, "ticks": "outside", "zeroline": false, "zerolinecolor": "rgb(36,36,36)" }, "zaxis": { "backgroundcolor": "white", "gridcolor": "rgb(232,232,232)", "gridwidth": 2, "linecolor": "rgb(36,36,36)", "showbackground": true, "showgrid": false, "showline": true, "ticks": "outside", "zeroline": false, "zerolinecolor": "rgb(36,36,36)" } }, "shapedefaults": { "fillcolor": "black", "line": { "width": 0 }, "opacity": 0.3 }, "ternary": { "aaxis": { "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside" }, "baxis": { "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside" }, "bgcolor": "white", "caxis": { "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside" } }, "title": { "x": 0.05 }, "xaxis": { "automargin": true, "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside", "title": { "standoff": 15 }, "zeroline": false, "zerolinecolor": "rgb(36,36,36)" }, "yaxis": { "automargin": true, "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside", "title": { "standoff": 15 }, "zeroline": false, "zerolinecolor": "rgb(36,36,36)" } } }, "title": { "text": "Indonesia Recession by OECD", "x": 0.5 }, "width": 650, "xaxis": { "anchor": "y", "domain": [ 0, 1 ], "title": { "text": "datetime" } }, "yaxis": { "anchor": "x", "domain": [ 0, 1 ], "title": { "text": "IDNRECM" } } } } }, "metadata": {}, "output_type": "display_data" } ], "source": [ "y = \"IDNRECM\"\n", "fig = px.area(\n", " df[\"IDNRECM\"], x=\"datetime\", y=y, labels={\"Month\": \"Date\"}\n", ")\n", "fig.update_layout(\n", " template=\"simple_white\",\n", " font=dict(size=18),\n", " title_text=\"Indonesia Recession by OECD\",\n", " bargap=0,\n", " width=650,\n", " title_x=0.5,\n", " height=400,\n", ")\n", "fig.show()" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": 14, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { "plotlyServerURL": "https://plot.ly" }, "data": [ { "hovertemplate": "Time Period=GDP Indonesia
Date=%{x}
USD=%{y}", "legendgroup": "GDP Indonesia", "line": { "color": "#636efa", "dash": "solid" }, "marker": { "symbol": "circle" }, "mode": "lines", "name": "GDP Indonesia", "orientation": "v", "showlegend": true, "type": "scatter", "x": [ "1990-01-01T00:00:00", "1991-01-01T00:00:00", "1992-01-01T00:00:00", "1993-01-01T00:00:00", "1994-01-01T00:00:00", "1995-01-01T00:00:00", "1996-01-01T00:00:00", "1997-01-01T00:00:00", "1998-01-01T00:00:00", "1999-01-01T00:00:00", "2000-01-01T00:00:00", "2001-01-01T00:00:00", "2002-01-01T00:00:00", "2003-01-01T00:00:00", "2004-01-01T00:00:00", "2005-01-01T00:00:00", "2006-01-01T00:00:00", "2007-01-01T00:00:00", "2008-01-01T00:00:00", "2009-01-01T00:00:00", "2010-01-01T00:00:00", "2011-01-01T00:00:00", "2012-01-01T00:00:00", "2013-01-01T00:00:00", "2014-01-01T00:00:00", "2015-01-01T00:00:00", "2016-01-01T00:00:00", "2017-01-01T00:00:00", "2018-01-01T00:00:00", "2019-01-01T00:00:00", "2020-01-01T00:00:00", "2021-01-01T00:00:00", "2022-01-01T00:00:00" ], "xaxis": "x", "y": [ 106140727333.636, 116621996217.133, 128026966579.964, 158006700301.533, 176892143931.505, 202132028723.115, 227369679374.973, 215748998609.635, 95445547872.715, 140001351215.462, 165021012077.81, 160446947784.909, 195660611165.183, 234772463823.808, 256836875295.452, 285868619196.085, 364570515618.357, 432216737774.861, 510228634990.598, 539580085616.492, 755094157621.936, 892969104563.171, 917869913332.649, 912524136718.018, 890814755533.537, 860854232686.214, 931877364037.698, 1015618744159.73, 1042271532988.63, 1119099871350.2, 1059054842698.48, 1186505455736.54, 1319100220407.72 ], "yaxis": "y" }, { "name": "Recession", "opacity": 0.5, "type": "bar", "x": [ "1991-01-01T00:00:00", "1992-01-01T00:00:00", "1993-01-01T00:00:00", "1994-01-01T00:00:00", "1995-01-01T00:00:00", "1996-01-01T00:00:00", "1997-01-01T00:00:00", "1998-01-01T00:00:00", "1999-01-01T00:00:00", "2000-01-01T00:00:00", "2001-01-01T00:00:00", "2002-01-01T00:00:00", "2003-01-01T00:00:00", "2004-01-01T00:00:00", "2005-01-01T00:00:00", "2006-01-01T00:00:00", "2007-01-01T00:00:00", "2008-01-01T00:00:00", "2009-01-01T00:00:00", "2010-01-01T00:00:00", "2011-01-01T00:00:00", "2012-01-01T00:00:00", "2013-01-01T00:00:00", "2014-01-01T00:00:00", "2015-01-01T00:00:00", "2016-01-01T00:00:00", "2017-01-01T00:00:00", "2018-01-01T00:00:00", "2019-01-01T00:00:00", "2020-01-01T00:00:00", "2021-01-01T00:00:00", "2022-01-01T00:00:00" ], "y": [ 1319100220407, 1319100220407, 1319100220407, 0, 0, 0, 0, 1319100220407, 0, 0, 0, 0, 0, 1319100220407, 0, 0, 0, 0, 1319100220407, 0, 0, 0, 1319100220407, 1319100220407, 1319100220407, 0, 0, 0, 0, 1319100220407, 0, 0 ] } ], "layout": { "legend": { "title": { "text": "Time Period" }, "tracegroupgap": 0 }, "margin": { "t": 60 }, "template": { "data": { "bar": [ { "error_x": { "color": "#2a3f5f" }, "error_y": { "color": "#2a3f5f" }, "marker": { "line": { "color": "#E5ECF6", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "bar" } ], "barpolar": [ { "marker": { "line": { "color": "#E5ECF6", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "barpolar" } ], "carpet": [ { "aaxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "baxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "type": "carpet" } ], "choropleth": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "choropleth" } ], "contour": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "contour" } ], "contourcarpet": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "contourcarpet" } ], "heatmap": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "heatmap" } ], "heatmapgl": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "heatmapgl" } ], "histogram": [ { "marker": { "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "histogram" } ], "histogram2d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "histogram2d" } ], "histogram2dcontour": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "histogram2dcontour" } ], "mesh3d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "mesh3d" } ], "parcoords": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "parcoords" } ], "pie": [ { "automargin": true, "type": "pie" } ], "scatter": [ { "fillpattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 }, "type": "scatter" } ], "scatter3d": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatter3d" } ], "scattercarpet": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattercarpet" } ], "scattergeo": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattergeo" } ], "scattergl": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattergl" } ], "scattermapbox": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattermapbox" } ], "scatterpolar": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterpolar" } ], "scatterpolargl": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterpolargl" } ], "scatterternary": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterternary" } ], "surface": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "surface" } ], "table": [ { "cells": { "fill": { "color": "#EBF0F8" }, "line": { "color": "white" } }, "header": { "fill": { "color": "#C8D4E3" }, "line": { "color": "white" } }, "type": "table" } ] }, "layout": { "annotationdefaults": { "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, "autotypenumbers": "strict", "coloraxis": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "colorscale": { "diverging": [ [ 0, "#8e0152" ], [ 0.1, "#c51b7d" ], [ 0.2, "#de77ae" ], [ 0.3, "#f1b6da" ], [ 0.4, "#fde0ef" ], [ 0.5, "#f7f7f7" ], [ 0.6, "#e6f5d0" ], [ 0.7, "#b8e186" ], [ 0.8, "#7fbc41" ], [ 0.9, "#4d9221" ], [ 1, "#276419" ] ], "sequential": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "sequentialminus": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ] }, "colorway": [ "#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52" ], "font": { "color": "#2a3f5f" }, "geo": { "bgcolor": "white", "lakecolor": "white", "landcolor": "#E5ECF6", "showlakes": true, "showland": true, "subunitcolor": "white" }, "hoverlabel": { "align": "left" }, "hovermode": "closest", "mapbox": { "style": "light" }, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": { "angularaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "radialaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "scene": { "xaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "yaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "zaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" } }, "shapedefaults": { "line": { "color": "#2a3f5f" } }, "ternary": { "aaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "baxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "caxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "title": { "x": 0.05 }, "xaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": { "standoff": 15 }, "zerolinecolor": "white", "zerolinewidth": 2 }, "yaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": { "standoff": 15 }, "zerolinecolor": "white", "zerolinewidth": 2 } } }, "xaxis": { "anchor": "y", "domain": [ 0, 1 ], "title": { "text": "Date" } }, "yaxis": { "anchor": "x", "domain": [ 0, 1 ], "title": { "text": "USD" } } } } }, "metadata": {}, "output_type": "display_data" } ], "source": [ "import plotly.express as px\n", "import plotly.graph_objects as go\n", "\n", "fruits = [\"apples\", \"oranges\", \"bananas\"]\n", "fig = px.line(x=df[\"gdp_indonesia\"][\"datetime\"], y=df[\"gdp_indonesia\"][\"gdp\"], color=px.Constant(\"GDP Indonesia\"),\n", " labels=dict(x=\"Date\", y=\"USD\", color=\"Time Period\"))\n", "fig.add_bar(x=df[\"IDNRECM\"][\"datetime\"], y=df[\"IDNRECM\"][\"Result\"], name=\"Recession\",opacity = 0.5)\n", "\n", "fig.show()" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": 15, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { "plotlyServerURL": "https://plot.ly" }, "data": [ { "fillpattern": { "shape": "" }, "hovertemplate": "datetime=%{x}
Result=%{y}", "legendgroup": "", "line": { "color": "#F05023" }, "marker": { "symbol": "circle" }, "mode": "lines", "name": "Indonesia Recession", "orientation": "v", "showlegend": true, "stackgroup": "1", "type": "scatter", "x": [ "1991-01-01T00:00:00", "1992-01-01T00:00:00", "1993-01-01T00:00:00", "1994-01-01T00:00:00", "1995-01-01T00:00:00", "1996-01-01T00:00:00", "1997-01-01T00:00:00", "1998-01-01T00:00:00", "1999-01-01T00:00:00", "2000-01-01T00:00:00", "2001-01-01T00:00:00", "2002-01-01T00:00:00", "2003-01-01T00:00:00", "2004-01-01T00:00:00", "2005-01-01T00:00:00", "2006-01-01T00:00:00", "2007-01-01T00:00:00", "2008-01-01T00:00:00", "2009-01-01T00:00:00", "2010-01-01T00:00:00", "2011-01-01T00:00:00", "2012-01-01T00:00:00", "2013-01-01T00:00:00", "2014-01-01T00:00:00", "2015-01-01T00:00:00", "2016-01-01T00:00:00", "2017-01-01T00:00:00", "2018-01-01T00:00:00", "2019-01-01T00:00:00", "2020-01-01T00:00:00", "2021-01-01T00:00:00", "2022-01-01T00:00:00" ], "xaxis": "x", "y": [ 1319100220407, 1319100220407, 1319100220407, 0, 0, 0, 0, 1319100220407, 0, 0, 0, 0, 0, 1319100220407, 0, 0, 0, 0, 1319100220407, 0, 0, 0, 1319100220407, 1319100220407, 1319100220407, 0, 0, 0, 0, 1319100220407, 0, 0 ], "yaxis": "y2" }, { "hovertemplate": "datetime=%{x}
gdp=%{y}", "legendgroup": "", "line": { "color": "#636efa", "dash": "solid" }, "marker": { "symbol": "circle" }, "mode": "lines", "name": "GDP Indonesia", "orientation": "v", "showlegend": true, "type": "scatter", "x": [ "1990-01-01T00:00:00", "1991-01-01T00:00:00", "1992-01-01T00:00:00", "1993-01-01T00:00:00", "1994-01-01T00:00:00", "1995-01-01T00:00:00", "1996-01-01T00:00:00", "1997-01-01T00:00:00", "1998-01-01T00:00:00", "1999-01-01T00:00:00", "2000-01-01T00:00:00", "2001-01-01T00:00:00", "2002-01-01T00:00:00", "2003-01-01T00:00:00", "2004-01-01T00:00:00", "2005-01-01T00:00:00", "2006-01-01T00:00:00", "2007-01-01T00:00:00", "2008-01-01T00:00:00", "2009-01-01T00:00:00", "2010-01-01T00:00:00", "2011-01-01T00:00:00", "2012-01-01T00:00:00", "2013-01-01T00:00:00", "2014-01-01T00:00:00", "2015-01-01T00:00:00", "2016-01-01T00:00:00", "2017-01-01T00:00:00", "2018-01-01T00:00:00", "2019-01-01T00:00:00", "2020-01-01T00:00:00", "2021-01-01T00:00:00", "2022-01-01T00:00:00" ], "xaxis": "x", "y": [ 106140727333.636, 116621996217.133, 128026966579.964, 158006700301.533, 176892143931.505, 202132028723.115, 227369679374.973, 215748998609.635, 95445547872.715, 140001351215.462, 165021012077.81, 160446947784.909, 195660611165.183, 234772463823.808, 256836875295.452, 285868619196.085, 364570515618.357, 432216737774.861, 510228634990.598, 539580085616.492, 755094157621.936, 892969104563.171, 917869913332.649, 912524136718.018, 890814755533.537, 860854232686.214, 931877364037.698, 1015618744159.73, 1042271532988.63, 1119099871350.2, 1059054842698.48, 1186505455736.54, 1319100220407.72 ], "yaxis": "y2" } ], "layout": { "template": { "data": { "bar": [ { "error_x": { "color": "#2a3f5f" }, "error_y": { "color": "#2a3f5f" }, "marker": { "line": { "color": "#E5ECF6", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "bar" } ], "barpolar": [ { "marker": { "line": { "color": "#E5ECF6", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "barpolar" } ], "carpet": [ { "aaxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "baxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "type": "carpet" } ], "choropleth": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "choropleth" } ], "contour": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "contour" } ], "contourcarpet": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "contourcarpet" } ], "heatmap": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "heatmap" } ], "heatmapgl": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "heatmapgl" } ], "histogram": [ { "marker": { "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "histogram" } ], "histogram2d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "histogram2d" } ], "histogram2dcontour": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "histogram2dcontour" } ], "mesh3d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "mesh3d" } ], "parcoords": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "parcoords" } ], "pie": [ { "automargin": true, "type": "pie" } ], "scatter": [ { "fillpattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 }, "type": "scatter" } ], "scatter3d": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatter3d" } ], "scattercarpet": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattercarpet" } ], "scattergeo": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattergeo" } ], "scattergl": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattergl" } ], "scattermapbox": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattermapbox" } ], "scatterpolar": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterpolar" } ], "scatterpolargl": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterpolargl" } ], "scatterternary": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterternary" } ], "surface": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "surface" } ], "table": [ { "cells": { "fill": { "color": "#EBF0F8" }, "line": { "color": "white" } }, "header": { "fill": { "color": "#C8D4E3" }, "line": { "color": "white" } }, "type": "table" } ] }, "layout": { "annotationdefaults": { "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, "autotypenumbers": "strict", "coloraxis": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "colorscale": { "diverging": [ [ 0, "#8e0152" ], [ 0.1, "#c51b7d" ], [ 0.2, "#de77ae" ], [ 0.3, "#f1b6da" ], [ 0.4, "#fde0ef" ], [ 0.5, "#f7f7f7" ], [ 0.6, "#e6f5d0" ], [ 0.7, "#b8e186" ], [ 0.8, "#7fbc41" ], [ 0.9, "#4d9221" ], [ 1, "#276419" ] ], "sequential": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "sequentialminus": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ] }, "colorway": [ "#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52" ], "font": { "color": "#2a3f5f" }, "geo": { "bgcolor": "white", "lakecolor": "white", "landcolor": "#E5ECF6", "showlakes": true, "showland": true, "subunitcolor": "white" }, "hoverlabel": { "align": "left" }, "hovermode": "closest", "mapbox": { "style": "light" }, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": { "angularaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "radialaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "scene": { "xaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "yaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "zaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" } }, "shapedefaults": { "line": { "color": "#2a3f5f" } }, "ternary": { "aaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "baxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "caxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "title": { "x": 0.05 }, "xaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": { "standoff": 15 }, "zerolinecolor": "white", "zerolinewidth": 2 }, "yaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": { "standoff": 15 }, "zerolinecolor": "white", "zerolinewidth": 2 } } }, "title": { "text": "Indonesia Economy" }, "xaxis": { "anchor": "y", "domain": [ 0, 0.94 ], "title": { "text": "Date" } }, "yaxis": { "anchor": "x", "domain": [ 0, 1 ], "title": { "text": "Financial Impact" } }, "yaxis2": { "anchor": "x", "overlaying": "y", "side": "right", "title": { "text": "USD" } } } } }, "metadata": {}, "output_type": "display_data" } ], "source": [ "import plotly.express as px\n", "from plotly.subplots import make_subplots\n", "\n", "subfig = make_subplots(specs=[[{\"secondary_y\": True}]])\n", "\n", "# fig = px.area(df, x=\"Decade\", y=\"Financial_Impact\", color=\"Disaster_Type\", color_discrete_sequence=[\"#FDB714\", \"#009CA7\", \"#F05023\"])\n", "fig = px.area(df[\"IDNRECM\"], x=df[\"IDNRECM\"][\"datetime\"], y=df[\"IDNRECM\"][\"Result\"],color_discrete_sequence=[\"#F05023\"])\n", "# fig2 = px.line(df, x=\"Decade\",y=df.C)\n", "fig2 = px.line(df[\"gdp_indonesia\"], x=df[\"gdp_indonesia\"][\"datetime\"],y=df[\"gdp_indonesia\"][\"gdp\"])\n", "\n", "fig.update_traces(yaxis=\"y2\",showlegend=True,name='Indonesia Recession')\n", "fig2.update_traces(yaxis=\"y2\",showlegend=True,name='GDP Indonesia')\n", "subfig.add_traces(fig.data + fig2.data)\n", "\n", "subfig.layout.xaxis.title=\"Date\"\n", "subfig.layout.yaxis.title=\"Financial Impact\"\n", "subfig.layout.yaxis2.title=\"USD\"\n", "subfig.layout.title=\"Indonesia Economy\"\n", "\n", "subfig.show()" ] }, { "cell_type": "code", "execution_count": 16, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
DATEIDNRECMdatetimeResult
111991-01-011.01991-01-011319100220407
231992-01-011.01992-01-011319100220407
351993-01-011.01993-01-011319100220407
471994-01-010.01994-01-010
591995-01-010.01995-01-010
711996-01-010.01996-01-010
831997-01-010.01997-01-010
951998-01-011.01998-01-011319100220407
1071999-01-010.01999-01-010
1192000-01-010.02000-01-010
1312001-01-010.02001-01-010
1432002-01-010.02002-01-010
1552003-01-010.02003-01-010
1672004-01-011.02004-01-011319100220407
1792005-01-010.02005-01-010
1912006-01-010.02006-01-010
2032007-01-010.02007-01-010
2152008-01-010.02008-01-010
2272009-01-011.02009-01-011319100220407
2392010-01-010.02010-01-010
2512011-01-010.02011-01-010
2632012-01-010.02012-01-010
2752013-01-011.02013-01-011319100220407
2872014-01-011.02014-01-011319100220407
2992015-01-011.02015-01-011319100220407
3112016-01-010.02016-01-010
3232017-01-010.02017-01-010
3352018-01-010.02018-01-010
3472019-01-010.02019-01-010
3592020-01-011.02020-01-011319100220407
3712021-01-010.02021-01-010
3832022-01-010.02022-01-010
\n", "
" ], "text/plain": [ " DATE IDNRECM datetime Result\n", "11 1991-01-01 1.0 1991-01-01 1319100220407\n", "23 1992-01-01 1.0 1992-01-01 1319100220407\n", "35 1993-01-01 1.0 1993-01-01 1319100220407\n", "47 1994-01-01 0.0 1994-01-01 0\n", "59 1995-01-01 0.0 1995-01-01 0\n", "71 1996-01-01 0.0 1996-01-01 0\n", "83 1997-01-01 0.0 1997-01-01 0\n", "95 1998-01-01 1.0 1998-01-01 1319100220407\n", "107 1999-01-01 0.0 1999-01-01 0\n", "119 2000-01-01 0.0 2000-01-01 0\n", "131 2001-01-01 0.0 2001-01-01 0\n", "143 2002-01-01 0.0 2002-01-01 0\n", "155 2003-01-01 0.0 2003-01-01 0\n", "167 2004-01-01 1.0 2004-01-01 1319100220407\n", "179 2005-01-01 0.0 2005-01-01 0\n", "191 2006-01-01 0.0 2006-01-01 0\n", "203 2007-01-01 0.0 2007-01-01 0\n", "215 2008-01-01 0.0 2008-01-01 0\n", "227 2009-01-01 1.0 2009-01-01 1319100220407\n", "239 2010-01-01 0.0 2010-01-01 0\n", "251 2011-01-01 0.0 2011-01-01 0\n", "263 2012-01-01 0.0 2012-01-01 0\n", "275 2013-01-01 1.0 2013-01-01 1319100220407\n", "287 2014-01-01 1.0 2014-01-01 1319100220407\n", "299 2015-01-01 1.0 2015-01-01 1319100220407\n", "311 2016-01-01 0.0 2016-01-01 0\n", "323 2017-01-01 0.0 2017-01-01 0\n", "335 2018-01-01 0.0 2018-01-01 0\n", "347 2019-01-01 0.0 2019-01-01 0\n", "359 2020-01-01 1.0 2020-01-01 1319100220407\n", "371 2021-01-01 0.0 2021-01-01 0\n", "383 2022-01-01 0.0 2022-01-01 0" ] }, "execution_count": 16, "metadata": {}, "output_type": "execute_result" } ], "source": [ "df[\"IDNRECM\"]" ] }, { "cell_type": "code", "execution_count": 17, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { "plotlyServerURL": "https://plot.ly" }, "data": [ { "hovertemplate": "datetime=%{x}
IDNRECM=%{y}", "legendgroup": "", "line": { "color": "#636efa", "dash": "solid" }, "marker": { "symbol": "circle" }, "mode": "lines", "name": "", "orientation": "v", "showlegend": false, "type": "scatter", "x": [ "1991-01-01T00:00:00", "1992-01-01T00:00:00", "1993-01-01T00:00:00", "1994-01-01T00:00:00", "1995-01-01T00:00:00", "1996-01-01T00:00:00", "1997-01-01T00:00:00", "1998-01-01T00:00:00", "1999-01-01T00:00:00", "2000-01-01T00:00:00", "2001-01-01T00:00:00", "2002-01-01T00:00:00", "2003-01-01T00:00:00", "2004-01-01T00:00:00", "2005-01-01T00:00:00", "2006-01-01T00:00:00", "2007-01-01T00:00:00", "2008-01-01T00:00:00", "2009-01-01T00:00:00", "2010-01-01T00:00:00", "2011-01-01T00:00:00", "2012-01-01T00:00:00", "2013-01-01T00:00:00", "2014-01-01T00:00:00", "2015-01-01T00:00:00", "2016-01-01T00:00:00", "2017-01-01T00:00:00", "2018-01-01T00:00:00", "2019-01-01T00:00:00", "2020-01-01T00:00:00", "2021-01-01T00:00:00", "2022-01-01T00:00:00" ], "xaxis": "x", "y": [ 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0 ], "yaxis": "y" } ], "layout": { "font": { "size": 18 }, "height": 400, "legend": { "tracegroupgap": 0 }, "margin": { "t": 60 }, "template": { "data": { "bar": [ { "error_x": { "color": "rgb(36,36,36)" }, "error_y": { "color": "rgb(36,36,36)" }, "marker": { "line": { "color": "white", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "bar" } ], "barpolar": [ { "marker": { "line": { "color": "white", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "barpolar" } ], "carpet": [ { "aaxis": { "endlinecolor": "rgb(36,36,36)", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "rgb(36,36,36)" }, "baxis": { "endlinecolor": "rgb(36,36,36)", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "rgb(36,36,36)" }, "type": "carpet" } ], "choropleth": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "type": "choropleth" } ], "contour": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "contour" } ], "contourcarpet": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "type": "contourcarpet" } ], "heatmap": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "heatmap" } ], "heatmapgl": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "heatmapgl" } ], "histogram": [ { "marker": { "line": { "color": "white", "width": 0.6 } }, "type": "histogram" } ], "histogram2d": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "histogram2d" } ], "histogram2dcontour": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "histogram2dcontour" } ], "mesh3d": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "type": "mesh3d" } ], "parcoords": [ { "line": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "parcoords" } ], "pie": [ { "automargin": true, "type": "pie" } ], "scatter": [ { "fillpattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 }, "type": "scatter" } ], "scatter3d": [ { "line": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scatter3d" } ], "scattercarpet": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scattercarpet" } ], "scattergeo": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scattergeo" } ], "scattergl": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scattergl" } ], "scattermapbox": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scattermapbox" } ], "scatterpolar": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scatterpolar" } ], "scatterpolargl": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scatterpolargl" } ], "scatterternary": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scatterternary" } ], "surface": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "surface" } ], "table": [ { "cells": { "fill": { "color": "rgb(237,237,237)" }, "line": { "color": "white" } }, "header": { "fill": { "color": "rgb(217,217,217)" }, "line": { "color": "white" } }, "type": "table" } ] }, "layout": { "annotationdefaults": { "arrowhead": 0, "arrowwidth": 1 }, "autotypenumbers": "strict", "coloraxis": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "colorscale": { "diverging": [ [ 0, "rgb(103,0,31)" ], [ 0.1, "rgb(178,24,43)" ], [ 0.2, "rgb(214,96,77)" ], [ 0.3, "rgb(244,165,130)" ], [ 0.4, "rgb(253,219,199)" ], [ 0.5, "rgb(247,247,247)" ], [ 0.6, "rgb(209,229,240)" ], [ 0.7, "rgb(146,197,222)" ], [ 0.8, "rgb(67,147,195)" ], [ 0.9, "rgb(33,102,172)" ], [ 1, "rgb(5,48,97)" ] ], "sequential": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "sequentialminus": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ] }, "colorway": [ "#1F77B4", "#FF7F0E", "#2CA02C", "#D62728", "#9467BD", "#8C564B", "#E377C2", "#7F7F7F", "#BCBD22", "#17BECF" ], "font": { "color": "rgb(36,36,36)" }, "geo": { "bgcolor": "white", "lakecolor": "white", "landcolor": "white", "showlakes": true, "showland": true, "subunitcolor": "white" }, "hoverlabel": { "align": "left" }, "hovermode": "closest", "mapbox": { "style": "light" }, "paper_bgcolor": "white", "plot_bgcolor": "white", "polar": { "angularaxis": { "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside" }, "bgcolor": "white", "radialaxis": { "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside" } }, "scene": { "xaxis": { "backgroundcolor": "white", "gridcolor": "rgb(232,232,232)", "gridwidth": 2, "linecolor": "rgb(36,36,36)", "showbackground": true, "showgrid": false, "showline": true, "ticks": "outside", "zeroline": false, "zerolinecolor": "rgb(36,36,36)" }, "yaxis": { "backgroundcolor": "white", "gridcolor": "rgb(232,232,232)", "gridwidth": 2, "linecolor": "rgb(36,36,36)", "showbackground": true, "showgrid": false, "showline": true, "ticks": "outside", "zeroline": false, "zerolinecolor": "rgb(36,36,36)" }, "zaxis": { "backgroundcolor": "white", "gridcolor": "rgb(232,232,232)", "gridwidth": 2, "linecolor": "rgb(36,36,36)", "showbackground": true, "showgrid": false, "showline": true, "ticks": "outside", "zeroline": false, "zerolinecolor": "rgb(36,36,36)" } }, "shapedefaults": { "fillcolor": "black", "line": { "width": 0 }, "opacity": 0.3 }, "ternary": { "aaxis": { "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside" }, "baxis": { "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside" }, "bgcolor": "white", "caxis": { "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside" } }, "title": { "x": 0.05 }, "xaxis": { "automargin": true, "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside", "title": { "standoff": 15 }, "zeroline": false, "zerolinecolor": "rgb(36,36,36)" }, "yaxis": { "automargin": true, "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside", "title": { "standoff": 15 }, "zeroline": false, "zerolinecolor": "rgb(36,36,36)" } } }, "title": { "text": "Indonesia Recession by OECD", "x": 0.5 }, "width": 650, "xaxis": { "anchor": "y", "domain": [ 0, 1 ], "title": { "text": "datetime" } }, "yaxis": { "anchor": "x", "domain": [ 0, 1 ], "title": { "text": "IDNRECM" } } } } }, "metadata": {}, "output_type": "display_data" } ], "source": [ "y = \"gdp\"\n", "fig = px.line(\n", " df[\"gdp_indonesia\"], x=\"datetime\", y=y, labels={\"Month\": \"Date\"}\n", ")\n", "fig.update_layout(\n", " template=\"simple_white\",\n", " font=dict(size=18),\n", " title_text=\"GDP Indonesia by World Bank (USD)\",\n", " width=650,\n", " title_x=0.5,\n", " height=400,\n", ")\n", "y = \"IDNRECM\"\n", "fig = px.line(\n", " df[\"IDNRECM\"], x=\"datetime\", y=y, labels={\"Month\": \"Date\"}\n", ")\n", "fig.update_layout(\n", " template=\"simple_white\",\n", " font=dict(size=18),\n", " title_text=\"Indonesia Recession by OECD\",\n", " width=650,\n", " title_x=0.5,\n", " height=400,\n", ")\n", "fig.show()" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": 18, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "year 2011\n", "date Apr-12\n", "newcastle 48.8\n", "HBA 49.42\n", "ICI_1 52.93\n", "datetime 2011-12-01 00:00:00\n", "dtype: object\n", "year 2023\n", "date Sep-23\n", "newcastle 433.7\n", "HBA 330.97\n", "ICI_1 277.62\n", "datetime 2023-12-01 00:00:00\n", "dtype: object\n", "DATE 1959-01-01\n", "M2SL 286.6\n", "datetime 1959-01-01 00:00:00\n", "dtype: object\n", "DATE 2023-12-01\n", "M2SL 21703.5\n", "datetime 2023-12-01 00:00:00\n", "dtype: object\n" ] } ], "source": [ "print(df[\"coal_price_data\"].min())\n", "print(df[\"coal_price_data\"].max())\n", "print(df[\"M2SL\"].min())\n", "print(df[\"M2SL\"].max())" ] }, { "cell_type": "code", "execution_count": 19, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { "plotlyServerURL": "https://plot.ly" }, "data": [ { "hovertemplate": "datetime=%{x}
newcastle=%{y}", "legendgroup": "", "line": { "color": "#636efa", "dash": "solid" }, "marker": { "symbol": "circle" }, "mode": "lines", "name": "", "orientation": "v", "showlegend": false, "type": "scatter", "x": [ "2023-12-01T00:00:00", "2023-11-01T00:00:00", "2023-10-01T00:00:00", "2023-09-01T00:00:00", "2023-08-01T00:00:00", "2023-07-01T00:00:00", "2023-06-01T00:00:00", "2023-05-01T00:00:00", "2023-04-01T00:00:00", "2023-03-01T00:00:00", "2023-02-01T00:00:00", "2023-01-01T00:00:00", "2022-12-01T00:00:00", "2022-11-01T00:00:00", "2022-10-01T00:00:00", "2022-09-01T00:00:00", "2022-08-01T00:00:00", "2022-07-01T00:00:00", "2022-06-01T00:00:00", "2022-05-01T00:00:00", "2022-04-01T00:00:00", "2022-03-01T00:00:00", "2022-02-01T00:00:00", "2022-01-01T00:00:00", "2021-12-01T00:00:00", "2021-11-01T00:00:00", "2021-10-01T00:00:00", "2021-09-01T00:00:00", "2021-08-01T00:00:00", "2021-07-01T00:00:00", "2021-06-01T00:00:00", "2021-05-01T00:00:00", "2021-04-01T00:00:00", "2021-03-01T00:00:00", "2021-02-01T00:00:00", "2021-01-01T00:00:00", "2020-12-01T00:00:00", "2020-11-01T00:00:00", "2020-10-01T00:00:00", "2020-09-01T00:00:00", "2020-08-01T00:00:00", "2020-07-01T00:00:00", "2020-06-01T00:00:00", "2020-05-01T00:00:00", "2020-04-01T00:00:00", "2020-03-01T00:00:00", "2020-02-01T00:00:00", "2020-01-01T00:00:00", "2019-12-01T00:00:00", "2019-11-01T00:00:00", "2019-10-01T00:00:00", "2019-09-01T00:00:00", "2019-08-01T00:00:00", "2019-07-01T00:00:00", "2019-06-01T00:00:00", "2019-05-01T00:00:00", "2019-04-01T00:00:00", "2019-03-01T00:00:00", "2019-02-01T00:00:00", "2019-01-01T00:00:00", "2018-12-01T00:00:00", "2018-11-01T00:00:00", "2018-10-01T00:00:00", "2018-09-01T00:00:00", "2018-08-01T00:00:00", "2018-07-01T00:00:00", "2018-06-01T00:00:00", "2018-05-01T00:00:00", "2018-04-01T00:00:00", "2018-03-01T00:00:00", "2018-02-01T00:00:00", "2018-01-01T00:00:00", "2017-12-01T00:00:00", "2017-11-01T00:00:00", "2017-10-01T00:00:00", "2017-09-01T00:00:00", "2017-08-01T00:00:00", "2017-07-01T00:00:00", "2017-06-01T00:00:00", "2017-05-01T00:00:00", "2017-04-01T00:00:00", "2017-03-01T00:00:00", "2017-02-01T00:00:00", "2017-01-01T00:00:00", "2016-12-01T00:00:00", "2016-11-01T00:00:00", "2016-10-01T00:00:00", "2016-09-01T00:00:00", "2016-08-01T00:00:00", "2016-07-01T00:00:00", "2016-06-01T00:00:00", "2016-05-01T00:00:00", "2016-04-01T00:00:00", "2016-03-01T00:00:00", "2016-02-01T00:00:00", "2016-01-01T00:00:00", "2015-12-01T00:00:00", "2015-11-01T00:00:00", "2015-10-01T00:00:00", "2015-09-01T00:00:00", "2015-08-01T00:00:00", "2015-07-01T00:00:00", "2015-06-01T00:00:00", "2015-05-01T00:00:00", "2015-04-01T00:00:00", "2015-03-01T00:00:00", "2015-02-01T00:00:00", "2015-01-01T00:00:00", "2014-12-01T00:00:00", "2014-11-01T00:00:00", "2014-10-01T00:00:00", "2014-09-01T00:00:00", "2014-08-01T00:00:00", "2014-07-01T00:00:00", "2014-06-01T00:00:00", "2014-05-01T00:00:00", "2014-04-01T00:00:00", "2014-03-01T00:00:00", "2014-02-01T00:00:00", "2014-01-01T00:00:00", "2013-12-01T00:00:00", "2013-11-01T00:00:00", "2013-10-01T00:00:00", "2013-09-01T00:00:00", "2013-08-01T00:00:00", "2013-07-01T00:00:00", "2013-06-01T00:00:00", "2013-05-01T00:00:00", "2013-04-01T00:00:00", "2013-03-01T00:00:00", "2013-02-01T00:00:00", "2013-01-01T00:00:00", "2012-12-01T00:00:00", "2012-11-01T00:00:00", "2012-10-01T00:00:00", "2012-09-01T00:00:00", "2012-08-01T00:00:00", "2012-07-01T00:00:00", "2012-06-01T00:00:00", "2012-05-01T00:00:00", "2012-04-01T00:00:00", "2012-03-01T00:00:00", "2012-02-01T00:00:00", "2012-01-01T00:00:00", "2011-12-01T00:00:00" ], "xaxis": "x", "y": [ 146.25, 132.15, 121.1, 160.01, 156, 137.3, 128.05, 135, 189.7, 177.25, 192.85, 251.75, 404.15, 398.5, 356.3, 433.7, 425, 407.9, 385.95, 427, 326.6, 259, 274.5, 222.75, 169.6, 152, 223.45, 218, 174.25, 149.75, 134.7, 118.9, 93.3, 96.25, 85.1, 86.2, 80.5, 70.3, 58.2, 58.6, 51.95, 51.95, 52.15, 52, 52.35, 67.85, 67.4, 68.5, 67.7, 67.85, 66.9, 70.05, 65.75, 69.45, 70.9, 83.4, 87.3, 92.75, 96.05, 99, 102.05, 101.7, 105.2, 113.85, 118, 117.55, 114.4, 110.15, 99.4, 96.4, 104.25, 104.35, 100.8, 96.8, 99.9, 97.25, 95.3, 93.2, 81, 73.45, 83.55, 80.75, 83.45, 83, 88.4, 87.45, 108.6, 72.2, 68.75, 61.15, 56.95, 53.5, 50.75, 51.1, 50.5, 48.8, 50.6, 53.55, 53.05, 53.85, 58.5, 60.3, 60.8, 60.05, 62.05, 56.8, 71.05, 62.45, 62.3, 63.45, 64.3, 64.65, 69.25, 68.95, 71.1, 73.9, 73.35, 74.55, 77.55, 82.35, 87.25, 84.55, 84.15, 79.15, 78.55, 77.05, 83, 87.7, 87, 90.65, 94.25, 95.2, 93.75, 85.9, 83.6, 89.5, 91.75, 90.15, 88.4, 91.45, 100.75, 107, 112.1, 117.45, 112.25 ], "yaxis": "y" } ], "layout": { "font": { "size": 18 }, "height": 400, "legend": { "tracegroupgap": 0 }, "margin": { "t": 60 }, "template": { "data": { "bar": [ { "error_x": { "color": "rgb(36,36,36)" }, "error_y": { "color": "rgb(36,36,36)" }, "marker": { "line": { "color": "white", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "bar" } ], "barpolar": [ { "marker": { "line": { "color": "white", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "barpolar" } ], "carpet": [ { "aaxis": { "endlinecolor": "rgb(36,36,36)", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "rgb(36,36,36)" }, "baxis": { "endlinecolor": "rgb(36,36,36)", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "rgb(36,36,36)" }, "type": "carpet" } ], "choropleth": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "type": "choropleth" } ], "contour": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "contour" } ], "contourcarpet": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "type": "contourcarpet" } ], "heatmap": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "heatmap" } ], "heatmapgl": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "heatmapgl" } ], "histogram": [ { "marker": { "line": { "color": "white", "width": 0.6 } }, "type": "histogram" } ], "histogram2d": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "histogram2d" } ], "histogram2dcontour": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "histogram2dcontour" } ], "mesh3d": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "type": "mesh3d" } ], "parcoords": [ { "line": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "parcoords" } ], "pie": [ { "automargin": true, "type": "pie" } ], "scatter": [ { "fillpattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 }, "type": "scatter" } ], "scatter3d": [ { "line": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scatter3d" } ], "scattercarpet": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scattercarpet" } ], "scattergeo": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scattergeo" } ], "scattergl": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scattergl" } ], "scattermapbox": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scattermapbox" } ], "scatterpolar": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scatterpolar" } ], "scatterpolargl": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scatterpolargl" } ], "scatterternary": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scatterternary" } ], "surface": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "surface" } ], "table": [ { "cells": { "fill": { "color": "rgb(237,237,237)" }, "line": { "color": "white" } }, "header": { "fill": { "color": "rgb(217,217,217)" }, "line": { "color": "white" } }, "type": "table" } ] }, "layout": { "annotationdefaults": { "arrowhead": 0, "arrowwidth": 1 }, "autotypenumbers": "strict", "coloraxis": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "colorscale": { "diverging": [ [ 0, "rgb(103,0,31)" ], [ 0.1, "rgb(178,24,43)" ], [ 0.2, "rgb(214,96,77)" ], [ 0.3, "rgb(244,165,130)" ], [ 0.4, "rgb(253,219,199)" ], [ 0.5, "rgb(247,247,247)" ], [ 0.6, "rgb(209,229,240)" ], [ 0.7, "rgb(146,197,222)" ], [ 0.8, "rgb(67,147,195)" ], [ 0.9, "rgb(33,102,172)" ], [ 1, "rgb(5,48,97)" ] ], "sequential": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "sequentialminus": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ] }, "colorway": [ "#1F77B4", "#FF7F0E", "#2CA02C", "#D62728", "#9467BD", "#8C564B", "#E377C2", "#7F7F7F", "#BCBD22", "#17BECF" ], "font": { "color": "rgb(36,36,36)" }, "geo": { "bgcolor": "white", "lakecolor": "white", "landcolor": "white", "showlakes": true, "showland": true, "subunitcolor": "white" }, "hoverlabel": { "align": "left" }, "hovermode": "closest", "mapbox": { "style": "light" }, "paper_bgcolor": "white", "plot_bgcolor": "white", "polar": { "angularaxis": { "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside" }, "bgcolor": "white", "radialaxis": { "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside" } }, "scene": { "xaxis": { "backgroundcolor": "white", "gridcolor": "rgb(232,232,232)", "gridwidth": 2, "linecolor": "rgb(36,36,36)", "showbackground": true, "showgrid": false, "showline": true, "ticks": "outside", "zeroline": false, "zerolinecolor": "rgb(36,36,36)" }, "yaxis": { "backgroundcolor": "white", "gridcolor": "rgb(232,232,232)", "gridwidth": 2, "linecolor": "rgb(36,36,36)", "showbackground": true, "showgrid": false, "showline": true, "ticks": "outside", "zeroline": false, "zerolinecolor": "rgb(36,36,36)" }, "zaxis": { "backgroundcolor": "white", "gridcolor": "rgb(232,232,232)", "gridwidth": 2, "linecolor": "rgb(36,36,36)", "showbackground": true, "showgrid": false, "showline": true, "ticks": "outside", "zeroline": false, "zerolinecolor": "rgb(36,36,36)" } }, "shapedefaults": { "fillcolor": "black", "line": { "width": 0 }, "opacity": 0.3 }, "ternary": { "aaxis": { "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside" }, "baxis": { "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside" }, "bgcolor": "white", "caxis": { "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside" } }, "title": { "x": 0.05 }, "xaxis": { "automargin": true, "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside", "title": { "standoff": 15 }, "zeroline": false, "zerolinecolor": "rgb(36,36,36)" }, "yaxis": { "automargin": true, "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside", "title": { "standoff": 15 }, "zeroline": false, "zerolinecolor": "rgb(36,36,36)" } } }, "title": { "text": "Coal Price", "x": 0.5 }, "width": 650, "xaxis": { "anchor": "y", "domain": [ 0, 1 ], "title": { "text": "datetime" } }, "yaxis": { "anchor": "x", "domain": [ 0, 1 ], "title": { "text": "newcastle" } } } } }, "metadata": {}, "output_type": "display_data" } ], "source": [ "y = \"newcastle\"\n", "fig = px.line(\n", " df[\"coal_price_data\"], x=\"datetime\", y=y, labels={\"Month\": \"Date\"}\n", ")\n", "fig.update_layout(\n", " template=\"simple_white\",\n", " font=dict(size=18),\n", " title_text=\"Coal Price\",\n", " width=650,\n", " title_x=0.5,\n", " height=400,\n", ")\n", "fig.show()" ] }, { "cell_type": "code", "execution_count": 20, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { "plotlyServerURL": "https://plot.ly" }, "data": [ { "hovertemplate": "datetime=%{x}
M2SL=%{y}", "legendgroup": "", "line": { "color": "#636efa", "dash": "solid" }, "marker": { "symbol": "circle" }, "mode": "lines", "name": "", "orientation": "v", "showlegend": false, "type": "scatter", "x": [ "1959-01-01T00:00:00", "1959-02-01T00:00:00", "1959-03-01T00:00:00", "1959-04-01T00:00:00", "1959-05-01T00:00:00", "1959-06-01T00:00:00", "1959-07-01T00:00:00", "1959-08-01T00:00:00", "1959-09-01T00:00:00", "1959-10-01T00:00:00", "1959-11-01T00:00:00", "1959-12-01T00:00:00", "1960-01-01T00:00:00", "1960-02-01T00:00:00", "1960-03-01T00:00:00", "1960-04-01T00:00:00", "1960-05-01T00:00:00", "1960-06-01T00:00:00", "1960-07-01T00:00:00", "1960-08-01T00:00:00", "1960-09-01T00:00:00", "1960-10-01T00:00:00", "1960-11-01T00:00:00", "1960-12-01T00:00:00", "1961-01-01T00:00:00", "1961-02-01T00:00:00", "1961-03-01T00:00:00", "1961-04-01T00:00:00", "1961-05-01T00:00:00", "1961-06-01T00:00:00", "1961-07-01T00:00:00", "1961-08-01T00:00:00", "1961-09-01T00:00:00", "1961-10-01T00:00:00", "1961-11-01T00:00:00", "1961-12-01T00:00:00", "1962-01-01T00:00:00", "1962-02-01T00:00:00", "1962-03-01T00:00:00", "1962-04-01T00:00:00", "1962-05-01T00:00:00", "1962-06-01T00:00:00", "1962-07-01T00:00:00", "1962-08-01T00:00:00", "1962-09-01T00:00:00", "1962-10-01T00:00:00", "1962-11-01T00:00:00", "1962-12-01T00:00:00", "1963-01-01T00:00:00", "1963-02-01T00:00:00", "1963-03-01T00:00:00", "1963-04-01T00:00:00", "1963-05-01T00:00:00", "1963-06-01T00:00:00", "1963-07-01T00:00:00", "1963-08-01T00:00:00", "1963-09-01T00:00:00", "1963-10-01T00:00:00", "1963-11-01T00:00:00", "1963-12-01T00:00:00", "1964-01-01T00:00:00", "1964-02-01T00:00:00", "1964-03-01T00:00:00", "1964-04-01T00:00:00", "1964-05-01T00:00:00", "1964-06-01T00:00:00", "1964-07-01T00:00:00", "1964-08-01T00:00:00", "1964-09-01T00:00:00", "1964-10-01T00:00:00", "1964-11-01T00:00:00", "1964-12-01T00:00:00", "1965-01-01T00:00:00", "1965-02-01T00:00:00", "1965-03-01T00:00:00", "1965-04-01T00:00:00", "1965-05-01T00:00:00", "1965-06-01T00:00:00", "1965-07-01T00:00:00", "1965-08-01T00:00:00", "1965-09-01T00:00:00", "1965-10-01T00:00:00", "1965-11-01T00:00:00", "1965-12-01T00:00:00", "1966-01-01T00:00:00", "1966-02-01T00:00:00", "1966-03-01T00:00:00", "1966-04-01T00:00:00", "1966-05-01T00:00:00", "1966-06-01T00:00:00", "1966-07-01T00:00:00", "1966-08-01T00:00:00", "1966-09-01T00:00:00", "1966-10-01T00:00:00", "1966-11-01T00:00:00", "1966-12-01T00:00:00", "1967-01-01T00:00:00", "1967-02-01T00:00:00", "1967-03-01T00:00:00", "1967-04-01T00:00:00", "1967-05-01T00:00:00", "1967-06-01T00:00:00", "1967-07-01T00:00:00", "1967-08-01T00:00:00", "1967-09-01T00:00:00", "1967-10-01T00:00:00", "1967-11-01T00:00:00", "1967-12-01T00:00:00", "1968-01-01T00:00:00", "1968-02-01T00:00:00", "1968-03-01T00:00:00", "1968-04-01T00:00:00", "1968-05-01T00:00:00", "1968-06-01T00:00:00", "1968-07-01T00:00:00", "1968-08-01T00:00:00", "1968-09-01T00:00:00", "1968-10-01T00:00:00", "1968-11-01T00:00:00", "1968-12-01T00:00:00", "1969-01-01T00:00:00", "1969-02-01T00:00:00", "1969-03-01T00:00:00", "1969-04-01T00:00:00", "1969-05-01T00:00:00", "1969-06-01T00:00:00", "1969-07-01T00:00:00", "1969-08-01T00:00:00", "1969-09-01T00:00:00", "1969-10-01T00:00:00", "1969-11-01T00:00:00", "1969-12-01T00:00:00", "1970-01-01T00:00:00", "1970-02-01T00:00:00", "1970-03-01T00:00:00", "1970-04-01T00:00:00", "1970-05-01T00:00:00", "1970-06-01T00:00:00", "1970-07-01T00:00:00", "1970-08-01T00:00:00", "1970-09-01T00:00:00", "1970-10-01T00:00:00", "1970-11-01T00:00:00", "1970-12-01T00:00:00", "1971-01-01T00:00:00", "1971-02-01T00:00:00", "1971-03-01T00:00:00", "1971-04-01T00:00:00", "1971-05-01T00:00:00", "1971-06-01T00:00:00", "1971-07-01T00:00:00", "1971-08-01T00:00:00", "1971-09-01T00:00:00", "1971-10-01T00:00:00", "1971-11-01T00:00:00", "1971-12-01T00:00:00", "1972-01-01T00:00:00", "1972-02-01T00:00:00", "1972-03-01T00:00:00", "1972-04-01T00:00:00", "1972-05-01T00:00:00", "1972-06-01T00:00:00", "1972-07-01T00:00:00", "1972-08-01T00:00:00", "1972-09-01T00:00:00", "1972-10-01T00:00:00", "1972-11-01T00:00:00", "1972-12-01T00:00:00", "1973-01-01T00:00:00", "1973-02-01T00:00:00", "1973-03-01T00:00:00", "1973-04-01T00:00:00", "1973-05-01T00:00:00", "1973-06-01T00:00:00", "1973-07-01T00:00:00", "1973-08-01T00:00:00", "1973-09-01T00:00:00", "1973-10-01T00:00:00", "1973-11-01T00:00:00", "1973-12-01T00:00:00", "1974-01-01T00:00:00", "1974-02-01T00:00:00", "1974-03-01T00:00:00", "1974-04-01T00:00:00", "1974-05-01T00:00:00", "1974-06-01T00:00:00", "1974-07-01T00:00:00", "1974-08-01T00:00:00", "1974-09-01T00:00:00", "1974-10-01T00:00:00", "1974-11-01T00:00:00", "1974-12-01T00:00:00", "1975-01-01T00:00:00", "1975-02-01T00:00:00", "1975-03-01T00:00:00", "1975-04-01T00:00:00", "1975-05-01T00:00:00", "1975-06-01T00:00:00", "1975-07-01T00:00:00", "1975-08-01T00:00:00", "1975-09-01T00:00:00", "1975-10-01T00:00:00", "1975-11-01T00:00:00", "1975-12-01T00:00:00", "1976-01-01T00:00:00", "1976-02-01T00:00:00", "1976-03-01T00:00:00", "1976-04-01T00:00:00", "1976-05-01T00:00:00", "1976-06-01T00:00:00", "1976-07-01T00:00:00", "1976-08-01T00:00:00", "1976-09-01T00:00:00", "1976-10-01T00:00:00", "1976-11-01T00:00:00", "1976-12-01T00:00:00", "1977-01-01T00:00:00", "1977-02-01T00:00:00", "1977-03-01T00:00:00", "1977-04-01T00:00:00", "1977-05-01T00:00:00", "1977-06-01T00:00:00", "1977-07-01T00:00:00", "1977-08-01T00:00:00", "1977-09-01T00:00:00", "1977-10-01T00:00:00", "1977-11-01T00:00:00", "1977-12-01T00:00:00", "1978-01-01T00:00:00", "1978-02-01T00:00:00", "1978-03-01T00:00:00", "1978-04-01T00:00:00", "1978-05-01T00:00:00", "1978-06-01T00:00:00", "1978-07-01T00:00:00", "1978-08-01T00:00:00", "1978-09-01T00:00:00", "1978-10-01T00:00:00", "1978-11-01T00:00:00", "1978-12-01T00:00:00", "1979-01-01T00:00:00", "1979-02-01T00:00:00", "1979-03-01T00:00:00", "1979-04-01T00:00:00", "1979-05-01T00:00:00", "1979-06-01T00:00:00", "1979-07-01T00:00:00", "1979-08-01T00:00:00", "1979-09-01T00:00:00", "1979-10-01T00:00:00", "1979-11-01T00:00:00", "1979-12-01T00:00:00", "1980-01-01T00:00:00", "1980-02-01T00:00:00", "1980-03-01T00:00:00", "1980-04-01T00:00:00", "1980-05-01T00:00:00", "1980-06-01T00:00:00", "1980-07-01T00:00:00", "1980-08-01T00:00:00", "1980-09-01T00:00:00", "1980-10-01T00:00:00", "1980-11-01T00:00:00", "1980-12-01T00:00:00", "1981-01-01T00:00:00", "1981-02-01T00:00:00", "1981-03-01T00:00:00", "1981-04-01T00:00:00", "1981-05-01T00:00:00", "1981-06-01T00:00:00", "1981-07-01T00:00:00", "1981-08-01T00:00:00", "1981-09-01T00:00:00", "1981-10-01T00:00:00", "1981-11-01T00:00:00", "1981-12-01T00:00:00", "1982-01-01T00:00:00", "1982-02-01T00:00:00", "1982-03-01T00:00:00", "1982-04-01T00:00:00", "1982-05-01T00:00:00", "1982-06-01T00:00:00", "1982-07-01T00:00:00", "1982-08-01T00:00:00", "1982-09-01T00:00:00", "1982-10-01T00:00:00", "1982-11-01T00:00:00", "1982-12-01T00:00:00", "1983-01-01T00:00:00", "1983-02-01T00:00:00", "1983-03-01T00:00:00", "1983-04-01T00:00:00", "1983-05-01T00:00:00", "1983-06-01T00:00:00", "1983-07-01T00:00:00", "1983-08-01T00:00:00", "1983-09-01T00:00:00", "1983-10-01T00:00:00", "1983-11-01T00:00:00", "1983-12-01T00:00:00", "1984-01-01T00:00:00", "1984-02-01T00:00:00", "1984-03-01T00:00:00", "1984-04-01T00:00:00", "1984-05-01T00:00:00", "1984-06-01T00:00:00", "1984-07-01T00:00:00", "1984-08-01T00:00:00", "1984-09-01T00:00:00", "1984-10-01T00:00:00", "1984-11-01T00:00:00", "1984-12-01T00:00:00", "1985-01-01T00:00:00", "1985-02-01T00:00:00", "1985-03-01T00:00:00", "1985-04-01T00:00:00", "1985-05-01T00:00:00", "1985-06-01T00:00:00", "1985-07-01T00:00:00", "1985-08-01T00:00:00", "1985-09-01T00:00:00", "1985-10-01T00:00:00", "1985-11-01T00:00:00", "1985-12-01T00:00:00", "1986-01-01T00:00:00", "1986-02-01T00:00:00", "1986-03-01T00:00:00", "1986-04-01T00:00:00", "1986-05-01T00:00:00", "1986-06-01T00:00:00", "1986-07-01T00:00:00", "1986-08-01T00:00:00", "1986-09-01T00:00:00", "1986-10-01T00:00:00", "1986-11-01T00:00:00", "1986-12-01T00:00:00", "1987-01-01T00:00:00", "1987-02-01T00:00:00", "1987-03-01T00:00:00", "1987-04-01T00:00:00", "1987-05-01T00:00:00", "1987-06-01T00:00:00", "1987-07-01T00:00:00", "1987-08-01T00:00:00", "1987-09-01T00:00:00", "1987-10-01T00:00:00", "1987-11-01T00:00:00", "1987-12-01T00:00:00", "1988-01-01T00:00:00", "1988-02-01T00:00:00", "1988-03-01T00:00:00", "1988-04-01T00:00:00", "1988-05-01T00:00:00", "1988-06-01T00:00:00", "1988-07-01T00:00:00", "1988-08-01T00:00:00", "1988-09-01T00:00:00", "1988-10-01T00:00:00", "1988-11-01T00:00:00", "1988-12-01T00:00:00", "1989-01-01T00:00:00", "1989-02-01T00:00:00", "1989-03-01T00:00:00", "1989-04-01T00:00:00", "1989-05-01T00:00:00", "1989-06-01T00:00:00", "1989-07-01T00:00:00", "1989-08-01T00:00:00", "1989-09-01T00:00:00", "1989-10-01T00:00:00", "1989-11-01T00:00:00", "1989-12-01T00:00:00", "1990-01-01T00:00:00", "1990-02-01T00:00:00", "1990-03-01T00:00:00", "1990-04-01T00:00:00", "1990-05-01T00:00:00", "1990-06-01T00:00:00", "1990-07-01T00:00:00", "1990-08-01T00:00:00", "1990-09-01T00:00:00", "1990-10-01T00:00:00", "1990-11-01T00:00:00", "1990-12-01T00:00:00", "1991-01-01T00:00:00", "1991-02-01T00:00:00", "1991-03-01T00:00:00", "1991-04-01T00:00:00", "1991-05-01T00:00:00", "1991-06-01T00:00:00", "1991-07-01T00:00:00", "1991-08-01T00:00:00", "1991-09-01T00:00:00", "1991-10-01T00:00:00", "1991-11-01T00:00:00", "1991-12-01T00:00:00", "1992-01-01T00:00:00", "1992-02-01T00:00:00", "1992-03-01T00:00:00", "1992-04-01T00:00:00", "1992-05-01T00:00:00", "1992-06-01T00:00:00", "1992-07-01T00:00:00", "1992-08-01T00:00:00", "1992-09-01T00:00:00", "1992-10-01T00:00:00", "1992-11-01T00:00:00", "1992-12-01T00:00:00", "1993-01-01T00:00:00", "1993-02-01T00:00:00", "1993-03-01T00:00:00", "1993-04-01T00:00:00", "1993-05-01T00:00:00", "1993-06-01T00:00:00", "1993-07-01T00:00:00", "1993-08-01T00:00:00", "1993-09-01T00:00:00", "1993-10-01T00:00:00", "1993-11-01T00:00:00", "1993-12-01T00:00:00", "1994-01-01T00:00:00", "1994-02-01T00:00:00", "1994-03-01T00:00:00", "1994-04-01T00:00:00", "1994-05-01T00:00:00", "1994-06-01T00:00:00", "1994-07-01T00:00:00", "1994-08-01T00:00:00", "1994-09-01T00:00:00", "1994-10-01T00:00:00", "1994-11-01T00:00:00", "1994-12-01T00:00:00", "1995-01-01T00:00:00", "1995-02-01T00:00:00", "1995-03-01T00:00:00", "1995-04-01T00:00:00", "1995-05-01T00:00:00", "1995-06-01T00:00:00", "1995-07-01T00:00:00", "1995-08-01T00:00:00", "1995-09-01T00:00:00", "1995-10-01T00:00:00", "1995-11-01T00:00:00", "1995-12-01T00:00:00", "1996-01-01T00:00:00", "1996-02-01T00:00:00", "1996-03-01T00:00:00", "1996-04-01T00:00:00", "1996-05-01T00:00:00", "1996-06-01T00:00:00", "1996-07-01T00:00:00", "1996-08-01T00:00:00", "1996-09-01T00:00:00", "1996-10-01T00:00:00", "1996-11-01T00:00:00", "1996-12-01T00:00:00", "1997-01-01T00:00:00", "1997-02-01T00:00:00", "1997-03-01T00:00:00", "1997-04-01T00:00:00", "1997-05-01T00:00:00", "1997-06-01T00:00:00", "1997-07-01T00:00:00", "1997-08-01T00:00:00", "1997-09-01T00:00:00", "1997-10-01T00:00:00", "1997-11-01T00:00:00", "1997-12-01T00:00:00", "1998-01-01T00:00:00", "1998-02-01T00:00:00", "1998-03-01T00:00:00", "1998-04-01T00:00:00", "1998-05-01T00:00:00", "1998-06-01T00:00:00", "1998-07-01T00:00:00", "1998-08-01T00:00:00", "1998-09-01T00:00:00", "1998-10-01T00:00:00", "1998-11-01T00:00:00", "1998-12-01T00:00:00", "1999-01-01T00:00:00", "1999-02-01T00:00:00", "1999-03-01T00:00:00", "1999-04-01T00:00:00", "1999-05-01T00:00:00", "1999-06-01T00:00:00", "1999-07-01T00:00:00", "1999-08-01T00:00:00", "1999-09-01T00:00:00", "1999-10-01T00:00:00", "1999-11-01T00:00:00", "1999-12-01T00:00:00", "2000-01-01T00:00:00", "2000-02-01T00:00:00", "2000-03-01T00:00:00", "2000-04-01T00:00:00", "2000-05-01T00:00:00", "2000-06-01T00:00:00", "2000-07-01T00:00:00", "2000-08-01T00:00:00", "2000-09-01T00:00:00", "2000-10-01T00:00:00", "2000-11-01T00:00:00", "2000-12-01T00:00:00", "2001-01-01T00:00:00", "2001-02-01T00:00:00", "2001-03-01T00:00:00", "2001-04-01T00:00:00", "2001-05-01T00:00:00", "2001-06-01T00:00:00", "2001-07-01T00:00:00", "2001-08-01T00:00:00", "2001-09-01T00:00:00", "2001-10-01T00:00:00", "2001-11-01T00:00:00", "2001-12-01T00:00:00", "2002-01-01T00:00:00", "2002-02-01T00:00:00", "2002-03-01T00:00:00", "2002-04-01T00:00:00", "2002-05-01T00:00:00", "2002-06-01T00:00:00", "2002-07-01T00:00:00", "2002-08-01T00:00:00", "2002-09-01T00:00:00", "2002-10-01T00:00:00", "2002-11-01T00:00:00", "2002-12-01T00:00:00", "2003-01-01T00:00:00", "2003-02-01T00:00:00", "2003-03-01T00:00:00", "2003-04-01T00:00:00", "2003-05-01T00:00:00", "2003-06-01T00:00:00", "2003-07-01T00:00:00", "2003-08-01T00:00:00", "2003-09-01T00:00:00", "2003-10-01T00:00:00", "2003-11-01T00:00:00", "2003-12-01T00:00:00", "2004-01-01T00:00:00", "2004-02-01T00:00:00", "2004-03-01T00:00:00", "2004-04-01T00:00:00", "2004-05-01T00:00:00", "2004-06-01T00:00:00", "2004-07-01T00:00:00", "2004-08-01T00:00:00", "2004-09-01T00:00:00", "2004-10-01T00:00:00", "2004-11-01T00:00:00", "2004-12-01T00:00:00", "2005-01-01T00:00:00", "2005-02-01T00:00:00", "2005-03-01T00:00:00", "2005-04-01T00:00:00", "2005-05-01T00:00:00", "2005-06-01T00:00:00", "2005-07-01T00:00:00", "2005-08-01T00:00:00", "2005-09-01T00:00:00", "2005-10-01T00:00:00", "2005-11-01T00:00:00", "2005-12-01T00:00:00", "2006-01-01T00:00:00", "2006-02-01T00:00:00", "2006-03-01T00:00:00", "2006-04-01T00:00:00", "2006-05-01T00:00:00", "2006-06-01T00:00:00", "2006-07-01T00:00:00", "2006-08-01T00:00:00", "2006-09-01T00:00:00", "2006-10-01T00:00:00", "2006-11-01T00:00:00", "2006-12-01T00:00:00", "2007-01-01T00:00:00", "2007-02-01T00:00:00", "2007-03-01T00:00:00", "2007-04-01T00:00:00", "2007-05-01T00:00:00", "2007-06-01T00:00:00", "2007-07-01T00:00:00", "2007-08-01T00:00:00", "2007-09-01T00:00:00", "2007-10-01T00:00:00", "2007-11-01T00:00:00", "2007-12-01T00:00:00", "2008-01-01T00:00:00", "2008-02-01T00:00:00", "2008-03-01T00:00:00", "2008-04-01T00:00:00", "2008-05-01T00:00:00", "2008-06-01T00:00:00", "2008-07-01T00:00:00", "2008-08-01T00:00:00", "2008-09-01T00:00:00", "2008-10-01T00:00:00", "2008-11-01T00:00:00", "2008-12-01T00:00:00", "2009-01-01T00:00:00", "2009-02-01T00:00:00", "2009-03-01T00:00:00", "2009-04-01T00:00:00", "2009-05-01T00:00:00", "2009-06-01T00:00:00", "2009-07-01T00:00:00", "2009-08-01T00:00:00", "2009-09-01T00:00:00", "2009-10-01T00:00:00", "2009-11-01T00:00:00", "2009-12-01T00:00:00", "2010-01-01T00:00:00", "2010-02-01T00:00:00", "2010-03-01T00:00:00", "2010-04-01T00:00:00", "2010-05-01T00:00:00", "2010-06-01T00:00:00", "2010-07-01T00:00:00", "2010-08-01T00:00:00", "2010-09-01T00:00:00", "2010-10-01T00:00:00", "2010-11-01T00:00:00", "2010-12-01T00:00:00", "2011-01-01T00:00:00", "2011-02-01T00:00:00", "2011-03-01T00:00:00", "2011-04-01T00:00:00", "2011-05-01T00:00:00", "2011-06-01T00:00:00", "2011-07-01T00:00:00", "2011-08-01T00:00:00", "2011-09-01T00:00:00", "2011-10-01T00:00:00", "2011-11-01T00:00:00", "2011-12-01T00:00:00", "2012-01-01T00:00:00", "2012-02-01T00:00:00", "2012-03-01T00:00:00", "2012-04-01T00:00:00", "2012-05-01T00:00:00", "2012-06-01T00:00:00", "2012-07-01T00:00:00", "2012-08-01T00:00:00", "2012-09-01T00:00:00", "2012-10-01T00:00:00", "2012-11-01T00:00:00", "2012-12-01T00:00:00", "2013-01-01T00:00:00", "2013-02-01T00:00:00", "2013-03-01T00:00:00", "2013-04-01T00:00:00", "2013-05-01T00:00:00", "2013-06-01T00:00:00", "2013-07-01T00:00:00", "2013-08-01T00:00:00", "2013-09-01T00:00:00", "2013-10-01T00:00:00", "2013-11-01T00:00:00", "2013-12-01T00:00:00", "2014-01-01T00:00:00", "2014-02-01T00:00:00", "2014-03-01T00:00:00", "2014-04-01T00:00:00", "2014-05-01T00:00:00", "2014-06-01T00:00:00", "2014-07-01T00:00:00", "2014-08-01T00:00:00", "2014-09-01T00:00:00", "2014-10-01T00:00:00", "2014-11-01T00:00:00", "2014-12-01T00:00:00", "2015-01-01T00:00:00", "2015-02-01T00:00:00", "2015-03-01T00:00:00", "2015-04-01T00:00:00", "2015-05-01T00:00:00", "2015-06-01T00:00:00", "2015-07-01T00:00:00", "2015-08-01T00:00:00", "2015-09-01T00:00:00", "2015-10-01T00:00:00", "2015-11-01T00:00:00", "2015-12-01T00:00:00", "2016-01-01T00:00:00", "2016-02-01T00:00:00", "2016-03-01T00:00:00", "2016-04-01T00:00:00", "2016-05-01T00:00:00", "2016-06-01T00:00:00", "2016-07-01T00:00:00", "2016-08-01T00:00:00", "2016-09-01T00:00:00", "2016-10-01T00:00:00", "2016-11-01T00:00:00", "2016-12-01T00:00:00", "2017-01-01T00:00:00", "2017-02-01T00:00:00", "2017-03-01T00:00:00", "2017-04-01T00:00:00", "2017-05-01T00:00:00", "2017-06-01T00:00:00", "2017-07-01T00:00:00", "2017-08-01T00:00:00", "2017-09-01T00:00:00", "2017-10-01T00:00:00", "2017-11-01T00:00:00", "2017-12-01T00:00:00", "2018-01-01T00:00:00", "2018-02-01T00:00:00", "2018-03-01T00:00:00", "2018-04-01T00:00:00", "2018-05-01T00:00:00", "2018-06-01T00:00:00", "2018-07-01T00:00:00", "2018-08-01T00:00:00", "2018-09-01T00:00:00", "2018-10-01T00:00:00", "2018-11-01T00:00:00", "2018-12-01T00:00:00", "2019-01-01T00:00:00", "2019-02-01T00:00:00", "2019-03-01T00:00:00", "2019-04-01T00:00:00", "2019-05-01T00:00:00", "2019-06-01T00:00:00", "2019-07-01T00:00:00", "2019-08-01T00:00:00", "2019-09-01T00:00:00", "2019-10-01T00:00:00", "2019-11-01T00:00:00", "2019-12-01T00:00:00", "2020-01-01T00:00:00", "2020-02-01T00:00:00", "2020-03-01T00:00:00", "2020-04-01T00:00:00", "2020-05-01T00:00:00", "2020-06-01T00:00:00", "2020-07-01T00:00:00", "2020-08-01T00:00:00", "2020-09-01T00:00:00", "2020-10-01T00:00:00", "2020-11-01T00:00:00", "2020-12-01T00:00:00", "2021-01-01T00:00:00", "2021-02-01T00:00:00", "2021-03-01T00:00:00", "2021-04-01T00:00:00", "2021-05-01T00:00:00", "2021-06-01T00:00:00", "2021-07-01T00:00:00", "2021-08-01T00:00:00", "2021-09-01T00:00:00", "2021-10-01T00:00:00", "2021-11-01T00:00:00", "2021-12-01T00:00:00", "2022-01-01T00:00:00", "2022-02-01T00:00:00", "2022-03-01T00:00:00", "2022-04-01T00:00:00", "2022-05-01T00:00:00", "2022-06-01T00:00:00", "2022-07-01T00:00:00", "2022-08-01T00:00:00", "2022-09-01T00:00:00", "2022-10-01T00:00:00", "2022-11-01T00:00:00", "2022-12-01T00:00:00", "2023-01-01T00:00:00", "2023-02-01T00:00:00", "2023-03-01T00:00:00", "2023-04-01T00:00:00", "2023-05-01T00:00:00", "2023-06-01T00:00:00", "2023-07-01T00:00:00", "2023-08-01T00:00:00", "2023-09-01T00:00:00", "2023-10-01T00:00:00", "2023-11-01T00:00:00", "2023-12-01T00:00:00" ], "xaxis": "x", "y": [ 286.6, 287.7, 289.2, 290.1, 292.2, 294.1, 295.2, 296.4, 296.7, 296.5, 297.1, 297.8, 298.2, 298.4, 299.3, 300.1, 300.9, 302.3, 304.1, 306.9, 308.4, 309.5, 310.9, 312.4, 314.1, 316.5, 318.3, 319.9, 322.2, 324.3, 325.6, 327.6, 329.5, 331.1, 333.4, 335.5, 337.5, 340.1, 343.1, 345.5, 347.5, 349.3, 350.8, 352.8, 354.9, 357.2, 359.8, 362.7, 365.2, 367.9, 370.7, 373.3, 376.1, 378.4, 381.1, 383.6, 386, 388.3, 391.5, 393.2, 395.2, 397.6, 399.8, 401.7, 404.2, 407.1, 410.1, 413.4, 416.9, 419.1, 422, 424.7, 427.5, 430.4, 433.2, 435.4, 437.1, 440.1, 442.9, 445.8, 449.5, 452.6, 455.7, 459.2, 462, 464.6, 467.2, 469.3, 470.1, 471.2, 470.9, 472.6, 475.4, 475.7, 477.3, 480.2, 481.6, 485.1, 489.7, 492.1, 497.2, 502, 506.3, 510.8, 514.7, 518.2, 521.2, 524.8, 527.4, 530.4, 533.2, 535.7, 538.9, 542.6, 545.6, 549.4, 553.6, 557.6, 562.4, 566.8, 569.3, 571.9, 574.4, 575.7, 576.5, 578.5, 579.5, 580.1, 582.1, 583.4, 585.4, 587.9, 589.6, 586.3, 587.3, 588.4, 591.5, 595.2, 599.1, 604.9, 611.2, 616.4, 621.1, 626.5, 632.9, 641, 649.9, 658.4, 666.7, 673, 679.6, 685.5, 692.5, 698.4, 704.6, 710.3, 717.7, 725.7, 733.5, 738.4, 743.3, 749.7, 759.5, 768.7, 778.3, 786.9, 793.9, 802.3, 810.3, 814.1, 815.3, 819.7, 826.8, 833.3, 836.5, 838.8, 839.3, 842.6, 848.9, 855.5, 859.7, 864.2, 870.1, 872.9, 874.6, 877.8, 881.4, 884.1, 887.9, 893.3, 898.6, 902.1, 906.3, 914.1, 925, 935.1, 947.9, 963, 975.1, 983.1, 991.5, 997.8, 1006.9, 1016.2, 1026.6, 1040.3, 1050, 1060.8, 1072.1, 1077.6, 1086.3, 1098.7, 1110.8, 1125, 1138.2, 1152, 1165.2, 1177.6, 1188.5, 1199.6, 1209, 1217.8, 1226.7, 1237, 1246.2, 1254, 1262.4, 1270.3, 1279.7, 1285.5, 1292.2, 1300.4, 1310.5, 1318.5, 1324.1, 1333.5, 1345, 1352.3, 1359.1, 1366, 1371.6, 1377.8, 1387.8, 1402.1, 1410.2, 1423, 1434.8, 1446.6, 1454.1, 1460.4, 1465.9, 1473.7, 1482.7, 1494.6, 1499.8, 1502.2, 1512.3, 1529.2, 1545.5, 1561.5, 1574, 1584.8, 1595.8, 1599.8, 1606.9, 1618.7, 1636.6, 1659.2, 1664.2, 1670.3, 1681.9, 1694.3, 1706, 1721.8, 1736.1, 1755.5, 1770.4, 1774.5, 1786.5, 1803.9, 1815.4, 1826, 1831.5, 1845.2, 1858.4, 1869.7, 1883.7, 1905.9, 1959.4, 1996.8, 2015.2, 2028.6, 2043.1, 2053.5, 2064.8, 2074, 2083.2, 2099.2, 2112.3, 2123.5, 2138.2, 2158.2, 2175.2, 2191.7, 2204.1, 2215.1, 2223.5, 2230.4, 2244.4, 2258.9, 2281.4, 2306.4, 2332.4, 2354.1, 2366.2, 2375.4, 2389.5, 2412.6, 2429.5, 2444, 2456.4, 2468, 2477.8, 2492.1, 2502.1, 2512.9, 2533.1, 2557.8, 2584.8, 2605, 2626.6, 2646.5, 2667.8, 2687.4, 2701.3, 2728, 2743.9, 2747.5, 2753.7, 2767.7, 2772.9, 2774.6, 2779, 2788.2, 2799.5, 2814.8, 2818.9, 2826.4, 2847.4, 2870.4, 2890.7, 2910.7, 2926, 2938.4, 2947.2, 2952, 2956.9, 2965.3, 2980.2, 2988.2, 2991.7, 2992.2, 2999.7, 3006, 3011.6, 3027.9, 3052.4, 3074.4, 3092.5, 3114.1, 3133.3, 3152.5, 3166.8, 3179.2, 3190.1, 3201.6, 3200.6, 3213.7, 3224.5, 3242, 3254.6, 3259.3, 3262.6, 3271.8, 3287.7, 3304.5, 3321.9, 3332.4, 3343, 3351.9, 3356.1, 3355, 3354.9, 3360.1, 3365.5, 3372.2, 3381.2, 3400, 3403.9, 3399.7, 3398.6, 3393.4, 3393.9, 3398.8, 3410.3, 3423.8, 3426.5, 3424.7, 3419.1, 3414.5, 3411.7, 3411.3, 3436.9, 3442.4, 3442, 3445.7, 3452.2, 3456.7, 3470.1, 3474.5, 3474.9, 3475.7, 3480.1, 3481.3, 3490.8, 3479.5, 3488.2, 3485.7, 3486.1, 3484.3, 3487.2, 3486.4, 3492.4, 3489.9, 3491.1, 3499.2, 3524.2, 3548.9, 3567.4, 3589, 3602.1, 3613.4, 3619.9, 3629.5, 3647.9, 3661.8, 3686.9, 3697.7, 3709.6, 3722.5, 3737.1, 3744, 3753.4, 3772.8, 3795.1, 3818.6, 3834.6, 3846.3, 3861.2, 3877, 3889.2, 3906, 3923.9, 3957.4, 3973.1, 3992.3, 4014.8, 4032.9, 4056.2, 4088.9, 4114.3, 4140.2, 4164.4, 4184.1, 4203.8, 4228.7, 4267.6, 4307.7, 4346.4, 4375.2, 4402.6, 4425.3, 4432.1, 4460.7, 4485.3, 4507.2, 4534.5, 4551.7, 4567.7, 4591.5, 4610.5, 4638, 4666.2, 4679.4, 4710.2, 4766.1, 4753.9, 4771.8, 4789.4, 4817.5, 4853.2, 4869.2, 4880.3, 4925, 4975.7, 5014.1, 5072, 5135.9, 5133, 5173.5, 5203.4, 5237.2, 5348.4, 5337.1, 5380.8, 5433.8, 5454.1, 5483.4, 5495.2, 5495.4, 5521.5, 5546.5, 5589.1, 5631.6, 5656, 5700.4, 5750.6, 5772, 5804.6, 5840.7, 5861.4, 5898.8, 5959.3, 5996, 6042.7, 6100.8, 6072.8, 6063.6, 6069.1, 6067.3, 6075.5, 6114.3, 6150.1, 6191.2, 6268.1, 6270.5, 6284.3, 6310.6, 6345.3, 6373.3, 6399.8, 6418.3, 6424.5, 6432.8, 6441.9, 6455.9, 6473.3, 6505.8, 6537.4, 6570.2, 6604.3, 6638.6, 6655, 6681.9, 6724.3, 6748.6, 6762.9, 6800.1, 6806.9, 6844.9, 6886.3, 6917.1, 6944.2, 6993.3, 7028.4, 7071.6, 7109.6, 7125.3, 7159.1, 7231.3, 7245.4, 7278.6, 7309, 7385.1, 7403.2, 7417.2, 7441.8, 7471.6, 7505.5, 7590.6, 7656.2, 7699.2, 7711.2, 7728.9, 7775.4, 7790.2, 7859.5, 7965.3, 8015.8, 8192.1, 8273.7, 8303.1, 8369.3, 8372.9, 8430.7, 8440.5, 8445.1, 8445, 8444.2, 8471.1, 8500.8, 8496, 8458.1, 8507.4, 8504.5, 8535.2, 8589.9, 8609, 8618.8, 8669.1, 8700.1, 8749.4, 8770, 8801.8, 8823.1, 8886.9, 8943.5, 9004.9, 9075.5, 9151, 9316.6, 9507.6, 9528.3, 9562.1, 9612.6, 9660.1, 9733.3, 9785.7, 9830.6, 9884.6, 9928.4, 9999.3, 10051.8, 10121.3, 10200.8, 10267.3, 10337.6, 10459.7, 10482.9, 10501.3, 10558.3, 10586.3, 10621, 10678.7, 10718.4, 10776.6, 10837.2, 10961.6, 10969.7, 11035, 11080.8, 11178.8, 11208.1, 11257.7, 11321, 11374.9, 11429.9, 11458.9, 11499.8, 11566, 11604.8, 11684.9, 11745.6, 11879, 11886.8, 11928.9, 11957.9, 12001.7, 12051.3, 12101.9, 12160.8, 12195.9, 12284.6, 12346.8, 12469.9, 12556.7, 12616.7, 12700.4, 12766.2, 12829.4, 12887.7, 12972.8, 13033.6, 13100.5, 13173.4, 13213.4, 13283.4, 13358.8, 13426.9, 13484.9, 13538.1, 13559.2, 13618.7, 13673.7, 13717.9, 13770.1, 13799.9, 13857.9, 13869.7, 13912.3, 13970.2, 13988.8, 14047.2, 14103.6, 14139.2, 14181.3, 14212.9, 14222.5, 14236.8, 14362.7, 14430, 14469.9, 14509.9, 14541, 14643.2, 14757.7, 14840.6, 14914.6, 15008.1, 15140.8, 15242.2, 15320.7, 15396, 15450.3, 15978.7, 16997.6, 17851.1, 18131.7, 18286.3, 18346, 18577.3, 18729.1, 18949.3, 19114.6, 19357.5, 19600.6, 19840.8, 20116.8, 20431.1, 20506.7, 20663.1, 20847.8, 20964.3, 21115.6, 21315.7, 21549.3, 21562.3, 21570.7, 21697.8, 21677.2, 21665.5, 21666.1, 21703.5, 21659.6, 21525.1, 21433.2, 21399.3, 21358.3, 21221.7, 21099.8, 20876, 20705.4, 20820.8, 20854.5, 20863.8, 20825.6, 20755.4, 20725.7, 20767.5, 20865.2 ], "yaxis": "y" } ], "layout": { "font": { "size": 18 }, "height": 400, "legend": { "tracegroupgap": 0 }, "margin": { "t": 60 }, "template": { "data": { "bar": [ { "error_x": { "color": "rgb(36,36,36)" }, "error_y": { "color": "rgb(36,36,36)" }, "marker": { "line": { "color": "white", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "bar" } ], "barpolar": [ { "marker": { "line": { "color": "white", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "barpolar" } ], "carpet": [ { "aaxis": { "endlinecolor": "rgb(36,36,36)", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "rgb(36,36,36)" }, "baxis": { "endlinecolor": "rgb(36,36,36)", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "rgb(36,36,36)" }, "type": "carpet" } ], "choropleth": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "type": "choropleth" } ], "contour": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "contour" } ], "contourcarpet": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "type": "contourcarpet" } ], "heatmap": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "heatmap" } ], "heatmapgl": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "heatmapgl" } ], "histogram": [ { "marker": { "line": { "color": "white", "width": 0.6 } }, "type": "histogram" } ], "histogram2d": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "histogram2d" } ], "histogram2dcontour": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "histogram2dcontour" } ], "mesh3d": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "type": "mesh3d" } ], "parcoords": [ { "line": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "parcoords" } ], "pie": [ { "automargin": true, "type": "pie" } ], "scatter": [ { "fillpattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 }, "type": "scatter" } ], "scatter3d": [ { "line": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scatter3d" } ], "scattercarpet": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scattercarpet" } ], "scattergeo": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scattergeo" } ], "scattergl": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scattergl" } ], "scattermapbox": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scattermapbox" } ], "scatterpolar": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scatterpolar" } ], "scatterpolargl": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scatterpolargl" } ], "scatterternary": [ { "marker": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "type": "scatterternary" } ], "surface": [ { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" }, "colorscale": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "type": "surface" } ], "table": [ { "cells": { "fill": { "color": "rgb(237,237,237)" }, "line": { "color": "white" } }, "header": { "fill": { "color": "rgb(217,217,217)" }, "line": { "color": "white" } }, "type": "table" } ] }, "layout": { "annotationdefaults": { "arrowhead": 0, "arrowwidth": 1 }, "autotypenumbers": "strict", "coloraxis": { "colorbar": { "outlinewidth": 1, "tickcolor": "rgb(36,36,36)", "ticks": "outside" } }, "colorscale": { "diverging": [ [ 0, "rgb(103,0,31)" ], [ 0.1, "rgb(178,24,43)" ], [ 0.2, "rgb(214,96,77)" ], [ 0.3, "rgb(244,165,130)" ], [ 0.4, "rgb(253,219,199)" ], [ 0.5, "rgb(247,247,247)" ], [ 0.6, "rgb(209,229,240)" ], [ 0.7, "rgb(146,197,222)" ], [ 0.8, "rgb(67,147,195)" ], [ 0.9, "rgb(33,102,172)" ], [ 1, "rgb(5,48,97)" ] ], "sequential": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ], "sequentialminus": [ [ 0, "#440154" ], [ 0.1111111111111111, "#482878" ], [ 0.2222222222222222, "#3e4989" ], [ 0.3333333333333333, "#31688e" ], [ 0.4444444444444444, "#26828e" ], [ 0.5555555555555556, "#1f9e89" ], [ 0.6666666666666666, "#35b779" ], [ 0.7777777777777778, "#6ece58" ], [ 0.8888888888888888, "#b5de2b" ], [ 1, "#fde725" ] ] }, "colorway": [ "#1F77B4", "#FF7F0E", "#2CA02C", "#D62728", "#9467BD", "#8C564B", "#E377C2", "#7F7F7F", "#BCBD22", "#17BECF" ], "font": { "color": "rgb(36,36,36)" }, "geo": { "bgcolor": "white", "lakecolor": "white", "landcolor": "white", "showlakes": true, "showland": true, "subunitcolor": "white" }, "hoverlabel": { "align": "left" }, "hovermode": "closest", "mapbox": { "style": "light" }, "paper_bgcolor": "white", "plot_bgcolor": "white", "polar": { "angularaxis": { "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside" }, "bgcolor": "white", "radialaxis": { "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside" } }, "scene": { "xaxis": { "backgroundcolor": "white", "gridcolor": "rgb(232,232,232)", "gridwidth": 2, "linecolor": "rgb(36,36,36)", "showbackground": true, "showgrid": false, "showline": true, "ticks": "outside", "zeroline": false, "zerolinecolor": "rgb(36,36,36)" }, "yaxis": { "backgroundcolor": "white", "gridcolor": "rgb(232,232,232)", "gridwidth": 2, "linecolor": "rgb(36,36,36)", "showbackground": true, "showgrid": false, "showline": true, "ticks": "outside", "zeroline": false, "zerolinecolor": "rgb(36,36,36)" }, "zaxis": { "backgroundcolor": "white", "gridcolor": "rgb(232,232,232)", "gridwidth": 2, "linecolor": "rgb(36,36,36)", "showbackground": true, "showgrid": false, "showline": true, "ticks": "outside", "zeroline": false, "zerolinecolor": "rgb(36,36,36)" } }, "shapedefaults": { "fillcolor": "black", "line": { "width": 0 }, "opacity": 0.3 }, "ternary": { "aaxis": { "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside" }, "baxis": { "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside" }, "bgcolor": "white", "caxis": { "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside" } }, "title": { "x": 0.05 }, "xaxis": { "automargin": true, "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside", "title": { "standoff": 15 }, "zeroline": false, "zerolinecolor": "rgb(36,36,36)" }, "yaxis": { "automargin": true, "gridcolor": "rgb(232,232,232)", "linecolor": "rgb(36,36,36)", "showgrid": false, "showline": true, "ticks": "outside", "title": { "standoff": 15 }, "zeroline": false, "zerolinecolor": "rgb(36,36,36)" } } }, "title": { "text": "M2SL", "x": 0.5 }, "width": 650, "xaxis": { "anchor": "y", "domain": [ 0, 1 ], "title": { "text": "datetime" } }, "yaxis": { "anchor": "x", "domain": [ 0, 1 ], "title": { "text": "M2SL" } } } } }, "metadata": {}, "output_type": "display_data" } ], "source": [ "y = \"M2SL\"\n", "fig = px.line(df[y], x=\"datetime\", y=y, labels={\"Month\": \"Date\"})\n", "fig.update_layout(\n", " template=\"simple_white\",\n", " font=dict(size=18),\n", " title_text=y,\n", " width=650,\n", " title_x=0.5,\n", " height=400,\n", ")\n", "fig.show()" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": 21, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "slope: 0.6005339354037651\n", "intercept: 33.653814011599124\n", "r: 0.9606500704209071\n", "p: 1.9310655623954912e-81\n", "std_err: 0.014520325118984507\n" ] }, { "data": { "image/png": "iVBORw0KGgoAAAANSUhEUgAAAkUAAAGwCAYAAACnyRH2AAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjguNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8fJSN1AAAACXBIWXMAAA9hAAAPYQGoP6dpAABOZ0lEQVR4nO3dfXyT1d0/8E9S+ghNSqFtUnmwPAjUUpHniCBKoQWsIHUThImOW0dXdOAT4q0iuq3o/M2JU7h3bze4IeBwAoJY5UHKkAoIIpQqA1YsD03LqE1KoaVtz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d9TU5ODpjP89y5c/jVr36FHTt2ICIiQu7meJUrffXV58rbZ14SExODm266CadPn4ZOp8P169dRWVkpuaasrAw6nU6eBnqItf0tZzw075tOp0N5ebnkfH19PSoqKhTd/z59+qB79+44ffo0AOX1c8GCBdi2bRs+//xz9OjRw3bcld9XnU7n8DO3nvM3zvrqyKhRowBA8rkqoa9hYWHo168fhg0bhtzcXNxyyy148803A/LzdNZXR5T6eR4+fBjl5eUYOnQoOnXqhE6dOiE/Px8rVqxAp06dkJCQEDCfa1t9bWhosHuOtz5XhiIvuXLlCs6cOQO9Xo9hw4YhNDQUu3btsp0/efIkSkpKJPfBlSgpKQk6nU7SN7PZjAMHDtj6ZjAYUFlZicOHD9uu2b17NywWi+0XW4nOnz+Py5cvQ6/XA1BOP4UQWLBgATZt2oTdu3cjKSlJct6V31eDwYDjx49LQuCOHTug0WhstzH8QVt9deTo0aMAIPlcldDXliwWC2prawPq83TG2ldHlPp5TpgwAcePH8fRo0dtP8OHD8fs2bNtfw6Uz7WtvoaEhNg9x2ufq/v14eTIk08+Kfbs2SOKi4vFF198IdLS0kT37t1FeXm5EKJx6mSvXr3E7t27xVdffSUMBoMwGAwyt9o1VVVV4uuvvxZff/21ACB+//vfi6+//lp8//33QojGKfkxMTFiy5Yt4tixY2LatGkOp+Tfeuut4sCBA2Lfvn2if//+fjdVvbV+VlVViaeeekoUFBSI4uJisXPnTjF06FDRv39/UVNTY3sNJfQzOztbaLVasWfPHsn01qtXr9quaev31Tr9ddKkSeLo0aMiLy9PxMXF+d1U37b6evr0afHyyy+Lr776ShQXF4stW7aIPn36iHHjxtleQwl9ffbZZ0V+fr4oLi4Wx44dE88++6xQqVTis88+E0IEzucpROt9DZTP05mWM7AC6XNtqXlfffm5MhR5yP333y/0er0ICwsTN9xwg7j//vvF6dOnbeevXbsmfvnLX4quXbuKqKgoce+994rS0lIZW+y6zz//XACw+5k7d64QonFa/gsvvCASEhJEeHi4mDBhgjh58qTkNS5fvixmzZolunTpIjQajXj44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0hICDZs2AAA6NSpE1asWIH/+Z//QWJiIqZNm+awj6+88gpeeOEF5ObmYtCgQcjIyMDHH39sm9JPRP5LJYQQcjeCiIiISG4cKSIiIiICQxERERERAIYiIiIiIgAMRUREREQAGIqIiIiIADAUEREREQFgKCIiIiICwFBEREREBIChiIiIiAgAQxERERERAIYiIiIiIgDA/wfaBA6fb5vNOwAAAABJRU5ErkJggg==", "text/plain": [ "
" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "def myfunc(x):\n", " return slope * x + intercept\n", "\n", "\n", "x = df[\"coal_price_data\"].newcastle\n", "y = df[\"coal_price_data\"].ICI_1\n", "\n", "slope, intercept, r, p, std_err = stats.linregress(x, y)\n", "\n", "print(f\"slope: {slope}\")\n", "print(f\"intercept: {intercept}\")\n", "print(f\"r: {r}\")\n", "print(f\"p: {p}\")\n", "print(f\"std_err: {std_err}\")\n", "\n", "\n", "mymodel = list(map(myfunc, x))\n", "\n", "plt.scatter(x, y)\n", "plt.plot(x, mymodel, color=\"orange\")\n", "plt.xlabel(\"Newcastle\")\n", "plt.ylabel(\"ICI 1\")\n", "plt.show()" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": 22, "metadata": {}, "outputs": [], "source": [ "y_axis = \"M2SL\"" ] }, { "cell_type": "code", "execution_count": 23, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { "plotlyServerURL": "https://plot.ly" }, "data": [ { "type": "scatter", "x": [ 146.25, 132.15, 121.1, 160.01, 156, 137.3, 128.05, 135, 189.7, 177.25, 192.85, 251.75, 404.15, 398.5, 356.3, 433.7, 425, 407.9, 385.95, 427, 326.6, 259, 274.5, 222.75, 169.6, 152, 223.45, 218, 174.25, 149.75, 134.7, 118.9, 93.3, 96.25, 85.1, 86.2, 80.5, 70.3, 58.2, 58.6, 51.95, 51.95, 52.15, 52, 52.35, 67.85, 67.4, 68.5, 67.7, 67.85, 66.9, 70.05, 65.75, 69.45, 70.9, 83.4, 87.3, 92.75, 96.05, 99, 102.05, 101.7, 105.2, 113.85, 118, 117.55, 114.4, 110.15, 99.4, 96.4, 104.25, 104.35, 100.8, 96.8, 99.9, 97.25, 95.3, 93.2, 81, 73.45, 83.55, 80.75, 83.45, 83, 88.4, 87.45, 108.6, 72.2, 68.75, 61.15, 56.95, 53.5, 50.75, 51.1, 50.5, 48.8, 50.6, 53.55, 53.05, 53.85, 58.5, 60.3, 60.8, 60.05, 62.05, 56.8, 71.05, 62.45, 62.3, 63.45, 64.3, 64.65, 69.25, 68.95, 71.1, 73.9, 73.35, 74.55, 77.55, 82.35, 87.25, 84.55, 84.15, 79.15, 78.55, 77.05, 83, 87.7, 87, 90.65, 94.25, 95.2, 93.75, 85.9, 83.6, 89.5, 91.75, 90.15, 88.4, 91.45, 100.75, 107, 112.1, 117.45, 112.25 ], "xaxis": "x", "y": [ 121.48190206439978, 113.01437357520669, 106.37847358899508, 129.74524901555557, 127.33710793458648, 116.10712334253608, 110.55218444005125, 114.7258952911074, 147.57510155769336, 140.09845406191647, 149.4667834542152, 184.83823224949697, 276.35960400503075, 272.96658726999954, 247.62405519596064, 294.10538179621204, 288.8807365581993, 278.6116062627949, 265.42988638068226, 290.0818044290068, 229.78819731446885, 189.1921032811743, 198.50037927993264, 167.42274812278782, 135.50436945607768, 124.93497219297141, 167.8431218775704, 164.57021192961992, 138.29685225570518, 123.58377083831294, 114.54573511048628, 105.0572989311068, 89.68363018477041, 91.45520529421151, 84.75925191445953, 85.41983924340369, 81.99679581160221, 75.87134967048381, 68.60488905209826, 68.84510262625976, 64.85155195582472, 64.85155195582472, 64.97165874290548, 64.88157865259491, 65.09176552998622, 74.40004152874458, 74.12980125781289, 74.79038858675703, 74.30996143843402, 74.40004152874458, 73.82953429011101, 75.72121618663286, 73.13892026439669, 75.36089582539061, 76.23167003172608, 83.73834422427313, 86.08042657234782, 89.35333652029834, 91.33509850713077, 93.10667361657187, 94.93830211955336, 94.72811524216203, 96.82998401607522, 102.02460255731778, 104.51681838924341, 104.2465781183117, 102.35489622178986, 99.80262699632385, 93.34688719073338, 91.54528538452209, 96.25947677744163, 96.319530170982, 94.18763470029864, 91.78549895868358, 93.64715415843526, 92.05573922961528, 90.88469805557793, 89.62357679123004, 82.2970627793041, 77.76303156700567, 83.8284243145837, 82.14692929545316, 83.76837092104333, 83.49813065011162, 86.74101390129196, 86.17050666265838, 98.87179939644801, 77.01236414775096, 74.94052207060798, 70.37646416153936, 67.85422163284355, 65.78237955570056, 64.1309112333402, 64.34109811073152, 63.98077774948926, 62.95987005930286, 64.04083114302964, 65.81240625247074, 65.51213928476886, 65.99256643309187, 68.78504923271939, 69.86601031644616, 70.16627728414804, 69.71587683259521, 70.91694470340275, 67.76414154253298, 76.32175012203663, 71.15715827756426, 71.06707818725368, 71.75769221296802, 72.26814605806122, 72.47833293545254, 75.24078903830986, 75.06062885768873, 76.35177681880683, 78.03327183793738, 77.70297817346528, 78.4236188959498, 80.2252207021611, 83.10778359209917, 86.05039987557763, 84.42895824998746, 84.18874467582596, 81.18607499880713, 80.82575463756487, 79.92495373445922, 83.49813065011162, 86.32064014650933, 85.90026639172669, 88.09221525595044, 90.25413742340399, 90.82464466203757, 89.9538704557021, 85.23967906278256, 83.85845101135388, 87.40160123023611, 88.75280258489457, 87.79194828824855, 86.74101390129196, 88.57264240427344, 94.15760800352845, 97.91094509980199, 100.9736681703612, 104.18652472477133, 101.06374826067176 ], "yaxis": "y" }, { "type": "scatter", "x": [ 146.25, 132.15, 121.1, 160.01, 156, 137.3, 128.05, 135, 189.7, 177.25, 192.85, 251.75, 404.15, 398.5, 356.3, 433.7, 425, 407.9, 385.95, 427, 326.6, 259, 274.5, 222.75, 169.6, 152, 223.45, 218, 174.25, 149.75, 134.7, 118.9, 93.3, 96.25, 85.1, 86.2, 80.5, 70.3, 58.2, 58.6, 51.95, 51.95, 52.15, 52, 52.35, 67.85, 67.4, 68.5, 67.7, 67.85, 66.9, 70.05, 65.75, 69.45, 70.9, 83.4, 87.3, 92.75, 96.05, 99, 102.05, 101.7, 105.2, 113.85, 118, 117.55, 114.4, 110.15, 99.4, 96.4, 104.25, 104.35, 100.8, 96.8, 99.9, 97.25, 95.3, 93.2, 81, 73.45, 83.55, 80.75, 83.45, 83, 88.4, 87.45, 108.6, 72.2, 68.75, 61.15, 56.95, 53.5, 50.75, 51.1, 50.5, 48.8, 50.6, 53.55, 53.05, 53.85, 58.5, 60.3, 60.8, 60.05, 62.05, 56.8, 71.05, 62.45, 62.3, 63.45, 64.3, 64.65, 69.25, 68.95, 71.1, 73.9, 73.35, 74.55, 77.55, 82.35, 87.25, 84.55, 84.15, 79.15, 78.55, 77.05, 83, 87.7, 87, 90.65, 94.25, 95.2, 93.75, 85.9, 83.6, 89.5, 91.75, 90.15, 88.4, 91.45, 100.75, 107, 112.1, 117.45, 112.25 ], "xaxis": "x2", "y": [ 121.48190206439978, 113.01437357520669, 106.37847358899508, 129.74524901555557, 127.33710793458648, 116.10712334253608, 110.55218444005125, 114.7258952911074, 147.57510155769336, 140.09845406191647, 149.4667834542152, 184.83823224949697, 276.35960400503075, 272.96658726999954, 247.62405519596064, 294.10538179621204, 288.8807365581993, 278.6116062627949, 265.42988638068226, 290.0818044290068, 229.78819731446885, 189.1921032811743, 198.50037927993264, 167.42274812278782, 135.50436945607768, 124.93497219297141, 167.8431218775704, 164.57021192961992, 138.29685225570518, 123.58377083831294, 114.54573511048628, 105.0572989311068, 89.68363018477041, 91.45520529421151, 84.75925191445953, 85.41983924340369, 81.99679581160221, 75.87134967048381, 68.60488905209826, 68.84510262625976, 64.85155195582472, 64.85155195582472, 64.97165874290548, 64.88157865259491, 65.09176552998622, 74.40004152874458, 74.12980125781289, 74.79038858675703, 74.30996143843402, 74.40004152874458, 73.82953429011101, 75.72121618663286, 73.13892026439669, 75.36089582539061, 76.23167003172608, 83.73834422427313, 86.08042657234782, 89.35333652029834, 91.33509850713077, 93.10667361657187, 94.93830211955336, 94.72811524216203, 96.82998401607522, 102.02460255731778, 104.51681838924341, 104.2465781183117, 102.35489622178986, 99.80262699632385, 93.34688719073338, 91.54528538452209, 96.25947677744163, 96.319530170982, 94.18763470029864, 91.78549895868358, 93.64715415843526, 92.05573922961528, 90.88469805557793, 89.62357679123004, 82.2970627793041, 77.76303156700567, 83.8284243145837, 82.14692929545316, 83.76837092104333, 83.49813065011162, 86.74101390129196, 86.17050666265838, 98.87179939644801, 77.01236414775096, 74.94052207060798, 70.37646416153936, 67.85422163284355, 65.78237955570056, 64.1309112333402, 64.34109811073152, 63.98077774948926, 62.95987005930286, 64.04083114302964, 65.81240625247074, 65.51213928476886, 65.99256643309187, 68.78504923271939, 69.86601031644616, 70.16627728414804, 69.71587683259521, 70.91694470340275, 67.76414154253298, 76.32175012203663, 71.15715827756426, 71.06707818725368, 71.75769221296802, 72.26814605806122, 72.47833293545254, 75.24078903830986, 75.06062885768873, 76.35177681880683, 78.03327183793738, 77.70297817346528, 78.4236188959498, 80.2252207021611, 83.10778359209917, 86.05039987557763, 84.42895824998746, 84.18874467582596, 81.18607499880713, 80.82575463756487, 79.92495373445922, 83.49813065011162, 86.32064014650933, 85.90026639172669, 88.09221525595044, 90.25413742340399, 90.82464466203757, 89.9538704557021, 85.23967906278256, 83.85845101135388, 87.40160123023611, 88.75280258489457, 87.79194828824855, 86.74101390129196, 88.57264240427344, 94.15760800352845, 97.91094509980199, 100.9736681703612, 104.18652472477133, 101.06374826067176 ], "yaxis": "y2" } ], "layout": { "height": 600, "template": { "data": { "bar": [ { "error_x": { "color": "#2a3f5f" }, "error_y": { "color": "#2a3f5f" }, "marker": { "line": { "color": "#E5ECF6", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "bar" } ], "barpolar": [ { "marker": { "line": { "color": "#E5ECF6", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "barpolar" } ], "carpet": [ { "aaxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "baxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "type": "carpet" } ], "choropleth": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "choropleth" } ], "contour": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "contour" } ], "contourcarpet": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "contourcarpet" } ], "heatmap": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "heatmap" } ], "heatmapgl": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "heatmapgl" } ], "histogram": [ { "marker": { "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "histogram" } ], "histogram2d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "histogram2d" } ], "histogram2dcontour": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "histogram2dcontour" } ], "mesh3d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "mesh3d" } ], "parcoords": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "parcoords" } ], "pie": [ { "automargin": true, "type": "pie" } ], "scatter": [ { "fillpattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 }, "type": "scatter" } ], "scatter3d": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatter3d" } ], "scattercarpet": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattercarpet" } ], "scattergeo": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattergeo" } ], "scattergl": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattergl" } ], "scattermapbox": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattermapbox" } ], "scatterpolar": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterpolar" } ], "scatterpolargl": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterpolargl" } ], "scatterternary": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterternary" } ], "surface": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "surface" } ], "table": [ { "cells": { "fill": { "color": "#EBF0F8" }, "line": { "color": "white" } }, "header": { "fill": { "color": "#C8D4E3" }, "line": { "color": "white" } }, "type": "table" } ] }, "layout": { "annotationdefaults": { "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, "autotypenumbers": "strict", "coloraxis": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "colorscale": { "diverging": [ [ 0, "#8e0152" ], [ 0.1, "#c51b7d" ], [ 0.2, "#de77ae" ], [ 0.3, "#f1b6da" ], [ 0.4, "#fde0ef" ], [ 0.5, "#f7f7f7" ], [ 0.6, "#e6f5d0" ], [ 0.7, "#b8e186" ], [ 0.8, "#7fbc41" ], [ 0.9, "#4d9221" ], [ 1, "#276419" ] ], "sequential": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "sequentialminus": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ] }, "colorway": [ "#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52" ], "font": { "color": "#2a3f5f" }, "geo": { "bgcolor": "white", "lakecolor": "white", "landcolor": "#E5ECF6", "showlakes": true, "showland": true, "subunitcolor": "white" }, "hoverlabel": { "align": "left" }, "hovermode": "closest", "mapbox": { "style": "light" }, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": { "angularaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "radialaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "scene": { "xaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "yaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "zaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" } }, "shapedefaults": { "line": { "color": "#2a3f5f" } }, "ternary": { "aaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "baxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "caxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "title": { "x": 0.05 }, "xaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": { "standoff": 15 }, "zerolinecolor": "white", "zerolinewidth": 2 }, "yaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": { "standoff": 15 }, "zerolinecolor": "white", "zerolinewidth": 2 } } }, "title": { "text": "Side by Side Line Plots" }, "width": 800, "xaxis": { "anchor": "y", "domain": [ 0, 0.45 ] }, "xaxis2": { "anchor": "y2", "domain": [ 0.55, 1 ] }, "yaxis": { "anchor": "x", "domain": [ 0, 1 ] }, "yaxis2": { "anchor": "x2", "domain": [ 0, 1 ] } } } }, "metadata": {}, "output_type": "display_data" } ], "source": [ "fig = make_subplots(rows = 1,cols = 2)\n", "\n", "x = df[\"coal_price_data\"][\"newcastle\"]\n", "y = df[\"M2SL\"][y_axis]\n", "mymodel = list(map(myfunc, x))\n", "fig.add_trace(go.Scatter(x=x,y=mymodel),row = 1,col = 1)\n", "\n", "x = df[\"coal_price_data\"].newcastle\n", "y = df[\"coal_price_data\"].ICI_1\n", "mymodel = list(map(myfunc, x))\n", "fig.add_trace(go.Scatter(x=x,y=mymodel),row = 1,col = 2)\n", "fig.update_layout(height = 600,width = 800,title = \"Side by Side Line Plots\")\n", "fig.show()" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.12.2" } }, "nbformat": 4, "nbformat_minor": 4 }