Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Collections of data

In this session, we learn basic manipulations of collections of data: how to walk through every element of a collection using a for loop, how to select elements from a collection with the filter function, and how to transform every element of a collection using the map function.

Everything we cover is summarized in a Pluto notebook you can view here. The notebook includes a couple of more challenging self tests you can try out. To run the notebook interactively, use the button at the top right of the page **Edit** or **run** this notebook


Biology 114, Spring 2023. Supplementary material for hands-on exploration of evolution of cultural material.
All material on this web site is © Neel Smith and available under the Creative Commons Attribution Share-Alike license CC BY-SA 4.0 on github.