diff --git a/module3/exo1/analyse-syndrome-grippal.ipynb b/module3/exo1/analyse-syndrome-grippal.ipynb index 59d72b5b58a3ae26346460dd39e62a39c55243d7..5b77823e4321a6861062aad6147f531c1313302d 100644 --- a/module3/exo1/analyse-syndrome-grippal.ipynb +++ b/module3/exo1/analyse-syndrome-grippal.ipynb @@ -65,7 +65,7 @@ "metadata": {}, "outputs": [], "source": [ - "raw_data = pd.read_csv(data_url, skiprows=1)\n", + "raw_data = pd.read_csv(data_url , skiprows=1)\n", "raw_data" ] }, @@ -142,7 +142,7 @@ "source": [ "Il restent deux petites modifications à faire.\n", "\n", - "Premièrement, nous définissons les périodes d'observation\n", + "Premièrement, nous définissons les périodes d'observation\n", "comme nouvel index de notre jeux de données. Ceci en fait\n", "une suite chronologique, ce qui sera pratique par la suite.\n", "\n", @@ -184,7 +184,7 @@ "outputs": [], "source": [ "periods = sorted_data.index\n", - "for p1, p2 in zip(periods[:-1], periods[1:]):\n", + "for p1, p2 in zip(periods[:-1] , periods[1:]):\n", " delta = p2.to_timestamp() - p1.end_time\n", " if delta > pd.Timedelta('1s'):\n", " print(p1, p2)" @@ -258,7 +258,7 @@ }, "outputs": [], "source": [ - "first_august_week = [pd.Period(pd.Timestamp(y, 8, 1), 'W')\n", + "first_august_week = [pd.Period(pd.Timestamp(y, 8, 1), 'W')\n", " for y in range(1985,\n", " sorted_data.index[-1].year)]" ] @@ -335,7 +335,7 @@ "metadata": {}, "outputs": [], "source": [ - "yearly_incidence.hist(xrot=20)" + "yearly_incidence.hist(xrot=20 )" ] }, { @@ -364,7 +364,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.6.1" + "version": "3.6.4" } }, "nbformat": 4,