Lecture 5: Functions, data manipulation, and models

Lecture 5: Functions, data manipulation, and models

Learning objectives

  • Learn the basics of strings and how to print them.

  • Learn how to implement simple Python functions.

  • Learn how to document Python functions.

  • Learn how to apply functions to data frame columns.

  • Explain the concept of a model as a function.