From 4eb38b7720b78e870f2741344b5256256fbc8081 Mon Sep 17 00:00:00 2001 From: fac8f4cc02bfb4e3dfb02802cea5d62a Date: Thu, 11 Jan 2024 14:34:49 +0000 Subject: [PATCH] initialise file --- module3/exo1/Untitled.ipynb | 6 ++ ...xercice_evaluation_pairs_sujet_1_CO2.ipynb | 58 +++++++++++++++++++ module3/exo3/exercice.ipynb | 25 -------- 3 files changed, 64 insertions(+), 25 deletions(-) create mode 100644 module3/exo1/Untitled.ipynb create mode 100644 module3/exo3/Exercice_evaluation_pairs_sujet_1_CO2.ipynb delete mode 100644 module3/exo3/exercice.ipynb diff --git a/module3/exo1/Untitled.ipynb b/module3/exo1/Untitled.ipynb new file mode 100644 index 0000000..7fec515 --- /dev/null +++ b/module3/exo1/Untitled.ipynb @@ -0,0 +1,6 @@ +{ + "cells": [], + "metadata": {}, + "nbformat": 4, + "nbformat_minor": 4 +} diff --git a/module3/exo3/Exercice_evaluation_pairs_sujet_1_CO2.ipynb b/module3/exo3/Exercice_evaluation_pairs_sujet_1_CO2.ipynb new file mode 100644 index 0000000..b740164 --- /dev/null +++ b/module3/exo3/Exercice_evaluation_pairs_sujet_1_CO2.ipynb @@ -0,0 +1,58 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [], + "source": [ + "%matplotlib inline\n", + "import matplotlib.pyplot as plt\n", + "import pandas as pd\n", + "import isoweek\n", + "import os" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": {}, + "outputs": [], + "source": [ + "#change when website works again\n", + "if os.path.exists(\"incidence-PAY-3.csv\"):\n", + " data_path = \"incidence-PAY-3.csv\"\n", + "else:\n", + " data_path = \"https://scrippsco2.ucsd.edu/data/atmospheric_co2/primary_mlo_co2_record.html\"" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.6.4" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/module3/exo3/exercice.ipynb b/module3/exo3/exercice.ipynb deleted file mode 100644 index 0bbbe37..0000000 --- a/module3/exo3/exercice.ipynb +++ /dev/null @@ -1,25 +0,0 @@ -{ - "cells": [], - "metadata": { - "kernelspec": { - "display_name": "Python 3", - "language": "python", - "name": "python3" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.6.3" - } - }, - "nbformat": 4, - "nbformat_minor": 2 -} - -- 2.18.1