Skip to content

Commit 2f8f535

Browse files
Add answers
1 parent 8040d36 commit 2f8f535

3 files changed

Lines changed: 68 additions & 11 deletions

File tree

docs/day3/matplotlib/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ NSC |Tetralith |[Documentation](https://www.nsc.liu.se)
4646

4747
HPC cluster|HPC cluster-specific `matplotlib` documentation
4848
-----------|-------------------------------------------------------------------------------------------------------------------
49-
Alvis |[`matplotlib` documentation](https://www.c3se.chalmers.se/documentation/module_system/python/#numpy-and-scipy)
50-
Bianca |[`matplotlib` documentation](https://docs.uppmax.uu.se/software/tensorflow/#tensorflow-as-a-python-package-for-cpu)
51-
COSMOS |[`matplotlib` documentation](https://lunarc-documentation.readthedocs.io/en/latest/guides/applications/Python)
52-
Dardel |[`matplotlib` documentation](https://support.pdc.kth.se/doc/applications/tensorflow) (irrelevant)
53-
Kebnekaise |[`matplotlib` documentation](https://docs.hpc2n.umu.se/software/apps/#scipy)
54-
Pelle |[`matplotlib` documentation](https://docs.uppmax.uu.se/software/python_bundles/#pytorch)
55-
Tetralith |[`matplotlib` documentation](https://www.nsc.liu.se/software/python)
49+
Alvis |?[`matplotlib` documentation](https://www.c3se.chalmers.se/documentation/module_system/python/#numpy-and-scipy)
50+
Bianca |?[`matplotlib` documentation](https://docs.uppmax.uu.se/software/tensorflow/#tensorflow-as-a-python-package-for-cpu)
51+
COSMOS |?[`matplotlib` documentation](https://lunarc-documentation.readthedocs.io/en/latest/guides/applications/Python)
52+
Dardel |?[`matplotlib` documentation](https://support.pdc.kth.se/doc/applications/tensorflow) (irrelevant)
53+
Kebnekaise |?[`matplotlib` documentation](https://docs.hpc2n.umu.se/software/apps/#scipy)
54+
Pelle |?[`matplotlib` documentation](https://docs.uppmax.uu.se/software/python_bundles/#pytorch)
55+
Tetralith |?[`matplotlib` documentation](https://www.nsc.liu.se/software/python)
5656

5757
<!-- markdownlint-enable MD013 -->
5858

docs/day3/pandas/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ At the end of this sessions, learners ...
2929
Sorted by HPC cluster:
3030

3131
<!-- markdownlint-disable MD013 --><!-- Tables cannot be split up over lines, hence will break 80 characters per line -->
32+
3233
HPC center |HPC cluster|HPC cluster-specific documentation
3334
-----------|-----------|------------------------------------------------------------
3435
C3SE |Alvis |[Documentation](https://www.c3se.chalmers.se)
@@ -38,14 +39,16 @@ PDC |Dardel |[Documentation](https://support.pdc.kth.se)
3839
HPC2N |Kebnekaise |[Documentation](https://docs.hpc2n.umu.se)
3940
UPPMAX |Pelle |[Documentation](https://docs.uppmax.uu.se)
4041
NSC |Tetralith |[Documentation](https://www.nsc.liu.se)
42+
4143
<!-- markdownlint-enable MD013 -->
44+
4245
:::
4346

4447

4548
- In that documentation, find the software module to load the package.
4649
If you know how, you may also use the module system
4750

48-
:::{admonition} Answer: where is the pandas documentation?
51+
:::{admonition} Answer: where is the `pandas` documentation?
4952
:class: dropdown
5053

5154
<!-- markdownlint-disable MD013 --><!-- Tables cannot be split up over lines, hence will break 80 characters per line -->
@@ -65,7 +68,7 @@ Tetralith |[`pandas` documentation](https://www.nsc.liu.se/software/python)
6568
:::
6669

6770

68-
- Load the software module to use pandas
71+
- Load the software module to use `pandas`
6972

7073
:::{admonition} Answer: how to load the `pandas` software module
7174
:class: dropdown

docs/day3/seaborn/README.md

Lines changed: 56 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,65 @@
99

1010
At the end of this sessions, learners ...
1111

12+
- have practiced using the documentation of favorite HPC cluster
13+
- understand why Pandas is important
1214
- understand why Seaborn is important
1315
- have run Python code that uses Seaborn
14-
1516
:::
1617

1718
## Loading Seaborn
1819

20+
- Use the documentation of the HPC cluster you work on
21+
22+
:::{admonition} Answer: where is your documentation?
23+
:class: dropdown
24+
25+
Sorted by HPC cluster:
26+
27+
<!-- markdownlint-disable MD013 --><!-- Tables cannot be split up over lines, hence will break 80 characters per line -->
28+
29+
HPC center |HPC cluster|HPC cluster-specific documentation
30+
-----------|-----------|------------------------------------------------------------
31+
C3SE |Alvis |[Documentation](https://www.c3se.chalmers.se)
32+
UPPMAX |Bianca |[Documentation](https://docs.uppmax.uu.se)
33+
LUNARC |COSMOS |[Documentation](https://lunarc-documentation.readthedocs.io)
34+
PDC |Dardel |[Documentation](https://support.pdc.kth.se)
35+
HPC2N |Kebnekaise |[Documentation](https://docs.hpc2n.umu.se)
36+
UPPMAX |Pelle |[Documentation](https://docs.uppmax.uu.se)
37+
NSC |Tetralith |[Documentation](https://www.nsc.liu.se)
38+
39+
<!-- markdownlint-enable MD013 -->
40+
41+
:::
42+
43+
- In that documentation, find the software module to load the package.
44+
If you know how, you may also use the module system
45+
46+
:::{admonition} Answer: where is the `seaborn` documentation?
47+
:class: dropdown
48+
49+
<!-- markdownlint-disable MD013 --><!-- Tables cannot be split up over lines, hence will break 80 characters per line -->
50+
51+
HPC cluster|HPC cluster-specific `seaborn` documentation
52+
-----------|-------------------------------------------------------------------------------------------------------------------
53+
Alvis |?[`seaborn` documentation](https://www.c3se.chalmers.se/documentation/module_system/python/#numpy-and-scipy)
54+
Bianca |?[`seaborn` documentation](https://docs.uppmax.uu.se/software/tensorflow/#tensorflow-as-a-python-package-for-cpu)
55+
COSMOS |?[`seaborn` documentation](https://lunarc-documentation.readthedocs.io/en/latest/guides/applications/Python)
56+
Dardel |?[`seaborn` documentation](https://support.pdc.kth.se/doc/applications/tensorflow) (irrelevant)
57+
Kebnekaise |?[`seaborn` documentation](https://docs.hpc2n.umu.se/software/apps/#scipy)
58+
Pelle |?[`seaborn` documentation](https://docs.uppmax.uu.se/software/python_bundles/#pytorch)
59+
Tetralith |?[`seaborn` documentation](https://www.nsc.liu.se/software/python)
60+
61+
<!-- markdownlint-enable MD013 -->
62+
63+
:::
64+
65+
66+
- Load the software module to use `seaborn`
67+
68+
:::{admonition} Answer: how to load the `seaborn` software module
69+
:class: dropdown
70+
1971
<!-- markdownlint-disable MD013 --><!-- Tables cannot be split up over lines, hence will break 80 characters per line -->
2072

2173
HPC cluster|How to load Seaborn
@@ -29,14 +81,16 @@ Dardel |`module load cray-python/3.11.7 PDCOLD/23.12 matplotlib/3.8.2-cpeGNU
2981

3082
<!-- markdownlint-enable MD013 -->
3183

84+
:::
85+
3286
## Exercises
3387

3488
```python
3589
import matplotlib.pyplot as plt
3690
plt.style.use('classic')
3791
%matplotlib inline
3892
import numpy as np
39-
import pandas as pd
93+
import seaborn as pd
4094

4195
# Create some data
4296
rng = np.random.RandomState(0)

0 commit comments

Comments
 (0)