From fa9f27a11896e2360359e8eddca22f426907e067 Mon Sep 17 00:00:00 2001 From: Pooja Nilangekar Date: Fri, 9 Jun 2023 10:09:17 -0700 Subject: [PATCH 1/3] Make the clusterPlots notebook consistent with telemetry schema --- metrics/notebooks/clusterPlots.ipynb | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/metrics/notebooks/clusterPlots.ipynb b/metrics/notebooks/clusterPlots.ipynb index 33add00d..22724567 100644 --- a/metrics/notebooks/clusterPlots.ipynb +++ b/metrics/notebooks/clusterPlots.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": null, + "execution_count": 4, "metadata": {}, "outputs": [], "source": [ @@ -33,7 +33,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 5, "metadata": {}, "outputs": [], "source": [ @@ -43,14 +43,16 @@ }, { "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)" @@ -58,7 +60,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 8, "metadata": {}, "outputs": [], "source": [ @@ -105,7 +107,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.7" + "version": "3.9.6" }, "orig_nbformat": 4 }, From f574af1335b0a2cc9ff9decf5b1689ef0438cada Mon Sep 17 00:00:00 2001 From: Pooja Nilangekar Date: Fri, 9 Jun 2023 15:19:29 -0700 Subject: [PATCH 2/3] Remove metadata updates. --- metrics/notebooks/clusterPlots.ipynb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/metrics/notebooks/clusterPlots.ipynb b/metrics/notebooks/clusterPlots.ipynb index 22724567..c14999e6 100644 --- a/metrics/notebooks/clusterPlots.ipynb +++ b/metrics/notebooks/clusterPlots.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 4, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -33,7 +33,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -43,7 +43,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -60,7 +60,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ From 4b646a0993f2cb75a94c1edc6df87c5bf5568512 Mon Sep 17 00:00:00 2001 From: poojanilangekar Date: Fri, 9 Jun 2023 15:28:43 -0700 Subject: [PATCH 3/3] Update clusterPlots.ipynb metadata --- metrics/notebooks/clusterPlots.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics/notebooks/clusterPlots.ipynb b/metrics/notebooks/clusterPlots.ipynb index c14999e6..c7c69483 100644 --- a/metrics/notebooks/clusterPlots.ipynb +++ b/metrics/notebooks/clusterPlots.ipynb @@ -107,7 +107,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.6" + "version": "3.9.7" }, "orig_nbformat": 4 },