diff --git a/.ipynb_checkpoints/dataloader-checkpoint.ipynb b/.ipynb_checkpoints/dataloader-checkpoint.ipynb deleted file mode 100644 index 363fcab..0000000 --- a/.ipynb_checkpoints/dataloader-checkpoint.ipynb +++ /dev/null @@ -1,6 +0,0 @@ -{ - "cells": [], - "metadata": {}, - "nbformat": 4, - "nbformat_minor": 5 -} diff --git a/Data_Exploration/explore.ipynb b/Data_Exploration/explore.ipynb new file mode 100644 index 0000000..4de0468 --- /dev/null +++ b/Data_Exploration/explore.ipynb @@ -0,0 +1,27 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "id": "bd938e6e", + "metadata": {}, + "source": [ + "**Short notebook to test connectivity with S3 services and explore the data**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "8c4e04e6", + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "language_info": { + "name": "python" + } + }, + "nbformat": 4, + "nbformat_minor": 5 +} diff --git a/README.md b/README.md new file mode 100644 index 0000000..0b65adf --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +Carmignac Project \ No newline at end of file diff --git a/Readme.md b/Readme.md deleted file mode 100644 index 70a492d..0000000 --- a/Readme.md +++ /dev/null @@ -1 +0,0 @@ -#Carmignac Project \ No newline at end of file diff --git a/dataloader.ipynb b/dataloader.ipynb deleted file mode 100644 index 0d21068..0000000 --- a/dataloader.ipynb +++ /dev/null @@ -1,201 +0,0 @@ -{ - "cells": [ - { - "cell_type": "code", - "execution_count": null, - "id": "126c8a80-d9ad-4816-84f0-0c3d580f62c8", - "metadata": {}, - "outputs": [], - "source": [ - "import pandas as pd" - ] - }, - { - "cell_type": "code", - "execution_count": 1, - "id": "ff2261fb-9516-4410-b42d-3acc8dc1a460", - "metadata": {}, - "outputs": [], - "source": [ - "import os\n", - "import s3fs\n", - "os.environ[\"AWS_ACCESS_KEY_ID\"] = 'N1DBJCHI7YTK9AVMG6XT'\n", - "os.environ[\"AWS_SECRET_ACCESS_KEY\"] = 'SRCPMh8a1e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3ZDMtNDA5MC04ZDA3LWNlOWY3YjM5MDRkNCIsInN1YiI6ImVhYWVkN2QyLWM4MjYtNGIxNC05MzczLTYwYjNhODhlMWFiNiIsInR5cCI6IkJlYXJlciJ9.sLXOE8w930_dXU0yNWroaDvaTvcUUCONMcbgbKeMEduQebXQjOS7gEQxo-I7Q2oqLFb_dhg1zBlwx5VpNjyTMA'\n", - "os.environ[\"AWS_DEFAULT_REGION\"] = 'us-east-1'\n", - "fs = s3fs.S3FileSystem(\n", - " client_kwargs={'endpoint_url': 'https://'+'minio-simple.lab.groupe-genes.fr'},\n", - " key = os.environ[\"AWS_ACCESS_KEY_ID\"], \n", - " secret = os.environ[\"AWS_SECRET_ACCESS_KEY\"], \n", - " token = os.environ[\"AWS_SESSION_TOKEN\"])" - ] - }, - { - "cell_type": "code", - "execution_count": 8, - "id": "dc546698-76dc-4eaf-b9e2-7602953bf8f5", - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
| \n", - " | Morningstar Global Asset Class | \n", - "Morningstar Global Category | \n", - "Morningstar Category | \n", - "Combined Country | \n", - "Combined Channel Type | \n", - "Combined Type | \n", - "Month/Year (Record Date) | \n", - "Combined Net Assets | \n", - "Combined Net Sales | \n", - "
|---|---|---|---|---|---|---|---|---|---|
| 0 | \n", - "NaN | \n", - "NaN | \n", - "NaN | \n", - "Luxembourg | \n", - "Proprietary | \n", - "Domestic | \n", - "Jan 2015 | \n", - "11170000.0 | \n", - "799301.47 | \n", - "
| 1 | \n", - "NaN | \n", - "NaN | \n", - "NaN | \n", - "Luxembourg | \n", - "Proprietary | \n", - "Domestic | \n", - "Feb 2015 | \n", - "21210000.0 | \n", - "8922456.46 | \n", - "
| 2 | \n", - "NaN | \n", - "NaN | \n", - "NaN | \n", - "Luxembourg | \n", - "Proprietary | \n", - "Domestic | \n", - "Mar 2015 | \n", - "23670000.0 | \n", - "1718627.81 | \n", - "
| 3 | \n", - "NaN | \n", - "NaN | \n", - "NaN | \n", - "Luxembourg | \n", - "Proprietary | \n", - "Domestic | \n", - "Apr 2015 | \n", - "22720000.0 | \n", - "-670097.35 | \n", - "
| 4 | \n", - "NaN | \n", - "NaN | \n", - "NaN | \n", - "Luxembourg | \n", - "Proprietary | \n", - "Domestic | \n", - "May 2015 | \n", - "23550000.0 | \n", - "204625.93 | \n", - "