diff --git a/Spectacle/Exploration_spectacle.ipynb b/Spectacle/Exploration_spectacle.ipynb index f21ef1b..9fa6532 100644 --- a/Spectacle/Exploration_spectacle.ipynb +++ b/Spectacle/Exploration_spectacle.ipynb @@ -2,11 +2,45 @@ "cells": [ { "cell_type": "code", - "execution_count": null, + "execution_count": 3, "id": "0eefb67b-5399-44fa-9c1c-7724ec1c7cd2", "metadata": {}, "outputs": [], - "source": [] + "source": [ + "import pandas as pd\n", + "import os\n", + "import s3fs\n", + "import warnings\n", + "from datetime import date, timedelta, datetime\n", + "import numpy as np" + ] + }, + { + "cell_type": "code", + "execution_count": 5, + "id": "37977b4e-42e7-4d8e-8b9a-6843292fd128", + "metadata": {}, + "outputs": [], + "source": [ + "# Import KPI construction functions\n", + "# exec(open('0_KPI_functions.py').read())\n", + "exec(open('../0_KPI_functions.py').read())\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "cca62d72-f809-41a9-bb06-1be7d6b09307", + "metadata": {}, + "outputs": [], + "source": [ + "# Create filesystem object\n", + "S3_ENDPOINT_URL = \"https://\" + os.environ[\"AWS_S3_ENDPOINT\"]\n", + "fs = s3fs.S3FileSystem(client_kwargs={'endpoint_url': S3_ENDPOINT_URL})\n", + "\n", + "BUCKET = \"bdc2324-data\"\n", + "fs.ls(BUCKET)" + ] } ], "metadata": {