Iteration

module 6
week 10
for loops
iteration
map
Use iteration for applying functions across data
Author

Jeff Stevens

Published

March 29, 2023

Functions reduce repetition in code, but you may need to iterate to apply the function across multiple objects.

Learning objectives

  • Create for loops
  • Apply functions repeatedly across data with map()
  • Apply the same model across multiple data sets
  • Apply the same plot across multiple data sets
  • Import multiple data files simultaneously

Pre-meeting

To prepare for this class meeting, please do the following:

Class meeting

Homework after the class meeting

Wrap up this lesson

For next class meeting