99
1010At 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
2173HPC 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
3589import matplotlib.pyplot as plt
3690plt.style.use(' classic' )
3791% matplotlib inline
3892import numpy as np
39- import pandas as pd
93+ import seaborn as pd
4094
4195# Create some data
4296rng = np.random.RandomState(0 )
0 commit comments