Skip to content

Commit

Permalink
Merge branch 'feature/tutorial_datasets' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcis committed Jul 10, 2020
2 parents 8e0642f + 478fd7c commit 869779e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions popmon/notebooks/popmon_tutorial_advanced.ipynb
Expand Up @@ -37,7 +37,8 @@
"outputs": [],
"source": [
"import pandas as pd\n",
"import popmon"
"import popmon\n",
"from popmon import resources"
]
},
{
Expand All @@ -54,7 +55,7 @@
"metadata": {},
"outputs": [],
"source": [
"df = pd.read_csv(\"flight_delays.csv.gz\", index_col=0, parse_dates=[\"DATE\"])"
"df = pd.read_csv(resources.data(\"flight_delays.csv.gz\"), index_col=0, parse_dates=[\"DATE\"])"
]
},
{
Expand Down Expand Up @@ -171,7 +172,7 @@
"metadata": {},
"outputs": [],
"source": [
"df_ref = pd.read_csv(\"flight_delays_reference.csv.gz\", index_col=0, parse_dates=['DATE'])\n",
"df_ref = pd.read_csv(resources.data(\"flight_delays_reference.csv.gz\"), index_col=0, parse_dates=['DATE'])\n",
"df.pm_stability_report(time_axis='DATE', time_width='1w', time_offset='2015-07-02', extended_report=False, reference_type='external', reference=df_ref)"
]
},
Expand Down Expand Up @@ -411,13 +412,13 @@
"pycharm": {
"stem_cell": {
"cell_type": "raw",
"source": [],
"metadata": {
"collapsed": false
},
"source": []
}
}
}
},
"nbformat": 4,
"nbformat_minor": 4
}
}
File renamed without changes.

0 comments on commit 869779e

Please sign in to comment.