{ "cells": [ { "cell_type": "markdown", "metadata": { "hideCode": false, "hidePrompt": false }, "source": [ "# Useful links\n", "\n", "## For markdown:\n", "- Page with good overview is [here in this MOOC](https://lms.fun-mooc.fr/courses/course-v1:inria+41016+self-paced/courseware/2bfe60a86fed4994b5493a220c38eb69/13f6fd96266746a0bd9d717a12f1f835/4?activate_block_id=block-v1%3Ainria%2B41016%2Bself-paced%2Btype%40vertical%2Bblock%4089c7893cb5aa4644b06569c65945d4d9)\n", "\n", "## For Python\n", "- numpy documentation (used for statistics exercise) is [here on numpy.org](https://numpy.org/doc/stable/reference/generated/numpy.mean.html)\n", "- matplotlib.pyplot is great for plotting and matplotlib has a great [documentation](https://matplotlib.org/) as well\n", " - a useful general tutorial [here](https://matplotlib.org/stable/tutorials/introductory/pyplot.html)\n", " - some information for [grid lines on this page](https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.grid.html)\n", " - for histogram plots [take this](https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.hist.html)" ] }, { "cell_type": "markdown", "metadata": { "hideCode": false, "hidePrompt": false }, "source": [ "# Unsolved problems \n", "\n", "## Exercise 3.2: had a weird error message when trying to execute the evaluation part:\n", "\n", "```\n", "---------------------------------------------------------------------------\n", "AssertionError Traceback (most recent call last)\n", " in \n", " 4 first_september_week[1:]):\n", " 5 one_year = sorted_data['inc'][week1:week2-1]\n", "----> 6 assert abs(len(one_year)-52) < 2\n", " 7 yearly_incidence.append(one_year.sum())\n", " 8 year.append(week2.year)\n", "\n", "AssertionError: \n", "```\n", "\n", "worked on it together with Eva Diaz, trying to figure out what the problem was, but couldn't find any solution... " ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "hide_code_all_hidden": false, "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 }