Skip to content

Commit

Permalink
blog post, correction d'exercices
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed May 23, 2017
1 parent 2eec4b9 commit bbd0c4f
Show file tree
Hide file tree
Showing 12 changed files with 630 additions and 6 deletions.
7 changes: 7 additions & 0 deletions _doc/notebooks/README.txt
@@ -0,0 +1,7 @@
Galleries
=========

.. contents::
:local:
:depth: 1

11 changes: 11 additions & 0 deletions _doc/notebooks/decouverte/README.txt
@@ -0,0 +1,11 @@
Découvertes
+++++++++++

Quelques notebooks autour de modules très utiles.







13 changes: 13 additions & 0 deletions _doc/notebooks/examen/README.txt
@@ -0,0 +1,13 @@
Examens
+++++++

Solutions des exercices servant à l'évaluation de
ce cursus.








4 changes: 4 additions & 0 deletions _doc/notebooks/exemples/README.txt
@@ -0,0 +1,4 @@
Exemples
++++++++

Quelques astuces récurrentes.
4 changes: 4 additions & 0 deletions _doc/notebooks/exercices/README.txt
@@ -0,0 +1,4 @@
Exercices
+++++++++

Exerices pour pratiquer.
Binary file added _doc/notebooks/exercices/data/hexa.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
534 changes: 534 additions & 0 deletions _doc/notebooks/exercices/pyramide_bigarree.ipynb

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions _doc/notebooks/internet/README.txt
@@ -0,0 +1,5 @@
Internet
++++++++

Automatisation de traitements avec des données
récupérées depuis Internet.
22 changes: 22 additions & 0 deletions _doc/sphinxdoc/source/blog/2017/2017-05-23-seance5.rst
@@ -0,0 +1,22 @@

.. blogpost::
:title: Préparation pour la séance 5, données out of memory
:keywords: big data,
:date: 2017-05-23
:categories: big data

Certains jeux disponibles sur
`data.gouv.fr <https://www.data.gouv.fr/fr/>`_
sont très volumineux. C'est l'occasion de voir comment se
débrouiller quand les données ne tiennent pas en mémoire.
Nous choisir un des fichiers disponibles sur cette page :
`DAMIR <https://www.data.gouv.fr/fr/datasets/open-damir-base-complete-sur-les-depenses-dassurance-maladie-inter-regimes/>`_.
Il faudra le télécharger avant la séance. Nous verrons :

* `pandas et les itérateurs <http://pandas.pydata.org/pandas-docs/stable/generated/pandas.read_csv.html>`_
* `sqlite3 <https://docs.python.org/3/library/sqlite3.html>`_
* `dask <http://dask.pydata.org/en/latest/>`_
* `format de données compressés <https://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.sparse.csr_matrix.html>`_

Correction de l'exercice proposé dans le blog précédent :
:ref:`pyramidebigarreerst`.
15 changes: 11 additions & 4 deletions _doc/sphinxdoc/source/i_examens.rst
Expand Up @@ -8,11 +8,18 @@ Examens passés
Enoncés
=======

* :download:`année 2015-2016 <examen/travail_a_faire_python_2016.pdf>`
* :ref:`énoncé 2016-2017 <enonce2017rst>`
* :download:`année 2015-2016 <examen/travail_a_faire_python_2016.pdf>` :
l'énoncé propose une dizaine de questions sur le langage Python
puis un exercice sur un jeu de données qu'on supposera volumineux.
* :ref:`énoncé 2016-2017 <enonce2017rst>` :
le notebook aborde un problème de prédictions à deux niveaux d'agrégation
qui passe par des manipulations classiques de dataframe.

Correction
==========

* :ref:`solution 2015-2016 <solution2016rst>`
* :ref:`solution 2016-2017 <solution2017rst>`
..toctree::
:maxdepth: 1

solution 2015-2016 <notebooks/solution_2016>
solution 2016-2017 <notebooks/solution_2017>
16 changes: 16 additions & 0 deletions _doc/sphinxdoc/source/i_exercices.rst
@@ -0,0 +1,16 @@

.. _l-exercices:

=========
Exercices
=========

Pour apprendre à programmer avec des exercices plus ou moins courts.

Faciles
=======

.. toctree::
:maxdepth: 1

notebooks/pyramide_bigarree
5 changes: 3 additions & 2 deletions _doc/sphinxdoc/source/index.rst
Expand Up @@ -23,12 +23,13 @@ Contenu
i_seances_base
i_datasets

Examens
-------
Examens, exercices
------------------

.. toctree::
:maxdepth: 2

i_exercices
i_examens

Démarrer, Index
Expand Down

0 comments on commit bbd0c4f

Please sign in to comment.