To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit fa2597a2 authored by Bengt Giger's avatar Bengt Giger
Browse files

Added requirements file and documentation

parent 1f8bef4d
Live example: [![Binder](https://binder.let.ethz.ch/badge_logo.svg)](https://binder.let.ethz.ch/v2/git/https%3A%2F%2Fgitlab.ethz.ch%2Fk8s-let%2Fnotebooks%2Fexamples%2Fdata-analysis.git/HEAD?filepath=temperature-anomalies.ipynb)
# Installation of Required Libraries
The execution environment provides a basic set of Python libraries. Libraries like *matplotlib* or *numpy* are often used in Jupyter notebooks, but not part of Python core. To install additional libraries, create a file `requirements.txt` and list your dependencies. See the [pip documentation](https://pip.pypa.io/en/stable/user_guide/) for more information.
\ No newline at end of file
......@@ -8,11 +8,11 @@
%% Cell type:code id:e33460e5-7bfb-41d4-96d9-1b48a73dd2f8 tags:
``` python
import matplotlib.pyplot as plt
import numpy as np
data = np.genfromtxt('../test_data/data.csv', delimiter=',', dtype=None, skip_header=5, names=('year', 'anomaly'))
data = np.genfromtxt('./data.csv', delimiter=',', dtype=None, skip_header=5, names=('year', 'anomaly'))
```
%% Cell type:code id:e6312b7d-c583-4a16-8d41-bf6a2fc92dd8 tags:
``` python
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment