py-training-2017 issueshttps://gricad-gitlab.univ-grenoble-alpes.fr/python-uga/py-training-2017/-/issues2023-01-18T08:45:04+01:00https://gricad-gitlab.univ-grenoble-alpes.fr/python-uga/py-training-2017/-/issues/3Possible improvements after January 2023 session2023-01-18T08:45:04+01:00Loic HuderPossible improvements after January 2023 session- [ ] Invest in a laser pointer
- [ ] Have "linear" navigation of the slides (Removes the up/down arrows. Left/right arrows step through all slides (both horizontal and vertical)). !4
- [ ] Correct the instructions to activate code anal...- [ ] Invest in a laser pointer
- [ ] Have "linear" navigation of the slides (Removes the up/down arrows. Left/right arrows step through all slides (both horizontal and vertical)). !4
- [ ] Correct the instructions to activate code analysis for Spyder newest versions
- [ ] Put forward `f""` syntax instead of `"".format()` as Python 3.5 reached EOL
- [ ] Simplify some solutions to go more easily through them (e.g. format string of the `for` loop exercise)
- [ ] Make the solution of the exercise that computes L2 norm a `fragment`
- [ ] Rework `try/except` exercise (*e.g.* use try/except to handle empty list in averaging)
- [ ] Simplify the presentation of the default arg in functions (reuse an existing function to avoid explaining two things at once)
- [ ] Replace `unittest` by `pytest`
- [ ] Simplify perceived temperature formula
- [ ] [TP1 correction] Treat negative fields in rainfall
- [ ] [TP1 correction] Rework class with `sum` and `max`
- [ ] [pres10] Update packaging info and links
- [ ] Add a polymorphysm example at end of inheritance (*e.g* create a list of weatherStation weatherSationWithHumidity and print then)https://gricad-gitlab.univ-grenoble-alpes.fr/python-uga/py-training-2017/-/issues/2Utiliser des entiers aléatoires au lieu des réels dans les présentations2019-12-17T10:17:07+01:00Maxime AccadiaUtiliser des entiers aléatoires au lieu des réels dans les présentationsJe propose d'utiliser des entiers entre 0 et 10 plutôt que des réels entre 0 et 1 dans la présentation `pres110_intro_numpy_scipy_pandas.ipynb`. À mon sens, ça rendrait les choses plus lisibles.
Par exemple, remplacer
```python
A = np....Je propose d'utiliser des entiers entre 0 et 10 plutôt que des réels entre 0 et 1 dans la présentation `pres110_intro_numpy_scipy_pandas.ipynb`. À mon sens, ça rendrait les choses plus lisibles.
Par exemple, remplacer
```python
A = np.random.random([4, 5])
```
par
```python
A = np.random.random_integers(0, 10, size=(4, 5))
```