From 55c6bf36c771089099ad5816a7ff35f7acc1a0a4 Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Tue, 12 Dec 2023 14:22:55 -0600 Subject: [PATCH] remove hacky fix --- notebooks/nci_functionality.ipynb | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/notebooks/nci_functionality.ipynb b/notebooks/nci_functionality.ipynb index aab17abb..96833d29 100644 --- a/notebooks/nci_functionality.ipynb +++ b/notebooks/nci_functionality.ipynb @@ -300,24 +300,6 @@ "### EPF/WDS network cascading interdependency analysis" ] }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "# temporary fix (no need in the next release)\n", - "import pandas as pd\n", - "from pyincore import Dataset\n", - "\n", - "epf_subst_failure_df = epf_subst_failure_results.get_dataframe_from_csv()\n", - "epf_subst_dmg_df = epn_sub_dmg.get_output_dataset(\"result\").get_dataframe_from_csv()\n", - "epf_subst_failure_df = pd.merge(epf_subst_dmg_df[['guid', 'DS_0', 'DS_1', 'DS_2', 'DS_3', 'DS_4',]], epf_subst_failure_df[\n", - " ['guid', 'failure_probability']], on='guid', how='outer')\n", - "epf_subst_failure_df.head()\n", - "epf_subst_failure_results = Dataset.from_dataframe(epf_subst_failure_df, name=\"updated_epf_substation_failure\", data_type=\"incore:failureProbability\")" - ] - }, { "cell_type": "code", "execution_count": null,