Skip to content

Commit

Permalink
Make the clusterPlots notebook consistent with telemetry schema
Browse files Browse the repository at this point in the history
  • Loading branch information
poojanilangekar committed Jun 9, 2023
1 parent 8b876ef commit fa9f27a
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions metrics/notebooks/clusterPlots.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": null,
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -33,7 +33,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 5,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -43,22 +43,24 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 7,
"metadata": {},
"outputs": [],
"source": [
"# --- Data manipulations --- #\n",
"\n",
"# Retrieve relevant data from duckdb.\n",
"EXP_DATA = retrieve_experiment_df(con, EXPERIMENT_ID, EXPERIMENT_START_TIME)\n",
"EXP_DATA = pd.DataFrame()\n",
"for idx, id in enumerate(EXPERIMENT_ID):\n",
" EXP_DATA = pd.concat([EXP_DATA, retrieve_experiment_df(con, id, EXPERIMENT_START_TIME[idx])])\n",
"\n",
"# Remove superfluous entries from dataframe.\n",
"EXP_DATA = filterByEventIds(EXP_DATA, EVENT_IDS)"
]
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 8,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -105,7 +107,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.7"
"version": "3.9.6"
},
"orig_nbformat": 4
},
Expand Down

0 comments on commit fa9f27a

Please sign in to comment.