Browse our Notebooks

Example computational notebooks that use different libraries pre-installed in Noteable, which can be used as templates for classes and inspiration for your own pieces of code.

Notebooks provide examples of how to use particular subject-specific libraries and analyse representative data to create visualisations, tables and graphs.

The "View Notebook" will allow you to see the notebook on GitHub (but not run it). Use "Right-Click, Save-As" to download a copy. (All these notebooks are released under the BSD 3-clause License)

Notebooks for Higher Education

The notebooks in this section have been designed for a higher education audience. You can see information about the notebook and access it for use with Noteable.

GeoScience

Notebooks focused on the GeoScience Notebook.

taken from the Seismology Obspy notebook
Seismology Obspy Notebook

Explore the Obspy framework for seismic data. Utilise ipywidgets to make the tutorial interactive.

taken from the Ridgemap notebook
Ridgemap Notebook

Explores ridge_map, a geospatial library accessing SRTM elevation data. Demonstrates plotting elevation data as ridge maps.

taken from the Rasterio notebook
Rasterio & Matplotlib Notebook

Explores the rasterio and matplotlib libraries to visualize Ordnance Survey terrain digital terrain elevation models of the Lake District obtained from EDINA's Digimap service.

taken from the EarthPy notebook
EarthPy Notebook

Explore the EarthPy library to visualise Ordnance Survey terrain of the Lake District obtained from EDINA's Digimap service to plot terrain maps with hillshading to make more 3-Dimensional.

taken from the Folium notebook
Folium Notebook

Explore the Folium library to plot markers, polylines and other vector/raster/HTML visualisations on a base map.

taken from the COVID-19 notebook
Covid-19 Notebook

Explore the Folium library for making Choropleth maps through a step-by-step guide using Covid-19 data from John Hopkins University.

taken from the KeplerGL notebook
KeplerGl Notebook

Explore the KeplerGl interface embedded in a Jupyter map, to create map layers of the global population and GDP.

Language and Machine Learning

Notebooks focused on the Language and Machine Learning Notebook.

generic graphic for scipy notebooks
Classifications Notebook

Use the base Scipy stack of libraries to visusalise classification-K nearest neighbours (k-NN) and principal component analysis (PCA).

generic graphic for scipy notebooks
Clustering-k-means Notebook

Use the base Scipy stack of libraries to visualise Clustering K-means of generated data. Makes use of the bokeh library to make the plots interactive.

generic graphic for scipy notebooks
K-means Compression Notebook

Use the base Scipy stack of libraries to create image filters, making use of ipywidgets to make the tutorial interactive.

generic graphic for scipy notebooks
Regression Medical Notebook

Use the base Scipy stack of libraries to perform linear regression on a sample diabetes dataset. Make use of the bokeh library to make the plots interactive.

The R language

Notebooks focused on the R-language Notebook.

(Note that the RStudio notebook does not run .ipynb Notebooks.)

taken from data-cleaning with R notebook
Data Cleaning with R

Explore Data Cleaning and Exploratory Analysis (EDA) with R. Demonstrate a typical data cleaning process using a dataset on breast cancer, sample data included.

Notebooks for Schools

The computational notebooks in this section have been designed for school teachers to use in class and distribute to students.

These notebooks have been developed in line with the Scottish Curriculum for Excellence following the technologies framework that spans across a young person's education.

The Experiences and Outcomes that these notebooks cover from the Scottish curriculum define children's learning and progression in areas including Computing Science, Mathematics and Web Development. These notebooks are suitable for school curricula generally and cover activities for a range of pathways for learners.

Before you access a notebook, you can visit the README file with information on the resources and how to import into Noteable using the Git cloning feature.

Web Development resources for Schools

An introduction to web development using HTML, JavaScript and CSS in the JupyterLab environment with Noteable. A Github repository developed by EDINA contains resources for Scottish schools to use with the Noteable service. The resources focus on web development activities and teaching content for classrooms following the Scottish Curriculum for Excellence.

View Resources

National 3 Notebooks

The course specification includes core skills to complete for the unit at Information and Communication Technology at SCQF level 3. It is expected that learners will develop broad, generic skills through this unit. The main skills areas identified in the specification are Numeracy: Information handling, Employability, enterprise and citizenship and applying thinking skills.

taken from the Introduction Part 1 notebook
Introduction, part 1

An introductory notebook has been developed to understand the print function and working with variables with assigned values inside the notebook. This notebook also provides an overview of the four main data types on Python – int, float, string and bool. The notebook then distinguishes between = and == on Python for learners.

taken from the Introduction Part 2 notebook
Introduction, part 2

The "Part 2" introductory notebook covers Variable Types, including exercises to explore how variables can have various types. This notebook also explores the four main data types in Python – strings, Booleans, floats and integers.

taken from the If Statements notebook
An introduction to if statements in Python

This notebook explores if operations, and includes elif and else operators too.

taken from the for loops notebook
An introduction to for loops in Python

This notebook explores creating for loops, to do repetitive tasks over a series of items.

taken from the While Loops notebook
An introduction to while loops in Python

This notebook explores creating while loops, to do a repetitive task until a condition is met.

taken from the Arrays notebook
An introduction to Python arrays

Introducing python arrays.

taken from the Maze Runner notebook
Maze Runner

A notebook (plus images) that explore some slightly more complex coding issues.

taken from the Raccoon notebook
Raccoon Notebook

A notebook (plus images) that explores some interesting things one can do with images.

National 4 Notebooks

The notebook activities in this section have been designed in accordance with learning outcomes at level 4 of the Scottish curriculum. The course specification includes core skills to complete for the ICT unit is a progression from the National 3 set of notebooks and the relevant experiences and outcomes.

taken from the If Statements notebook
Further if statements in Python

This notebook explores if operations, and includes elif and else operators too.

taken from the for loops notebook
Further for loops in Python

This notebook explores creating for loops, to do repetitive tasks over a series of items.

taken from the While Loops notebook
Further while loops in Python

This notebook explores creating while loops, to do a repetitive task until a condition is met.

taken from the Arrays notebook
Further Python arrays

Introducing python arrays.

National 5 Notebooks

The notebook activities in this section have been designed in accordance with learning outcomes at level 5 of the Scottish curriculum. The course specification includes core skills to complete for the ICT unit is a progression from the National 4 set of notebooks and the relevant experiences and outcomes.

taken from the If Statements notebook
More on if statements in Python

This notebook explores if operations, and includes elif and else operators too.

taken from the While Loops notebook
More on while loops in Python

This notebook explores creating while loops, to do a repetitive task until a condition is met.

taken from the Arrays notebook
More on Python arrays

Introducing python arrays.

National Higher Notebooks

The notebook activities in this section have been designed in accordance with learning outcomes at Higher level of the Scottish curriculum. The course specification includes core skills to complete for the ICT unit is a progression from the National 5 set of notebooks and the relevant experiences and outcomes.

taken from the If Statements notebook
Even more if statements in Python

This notebook explores if operations, and includes elif and else operators too.

taken from the While Loops notebook
Even more while loops in Python

This notebook explores creating while loops, to do a repetitive task until a condition is met.

taken from the Arrays notebook
Even more Python arrays

Introducing python arrays.

taken from the encription_1 notebook
Encryption and decryption, part 1

This notebook explores ways of sending a hidden message or code, and deciphering it.

taken from the Arrays notebook
Encryption and decryption, part 2

More complex cyphering and encoding/decoding strings.

Advanced Higher Notebooks

The notebook activities in this section have been designed in accordance with learning outcomes at Advanced Higher level of the Scottish curriculum. The course specification includes core skills to complete for the ICT unit is a progression from the "Higher" set of notebooks and the relevant experiences and outcomes.

taken from the If Statements notebook
if statements in Python

This notebook explores if operations, and includes elif and else operators too.

taken from the While Loops notebook
while loops in Python

This notebook explores creating while loops, to do a repetitive task until a condition is met.

taken for the Arrays notebook
Python arrays

Introducing python arrays.