Conditional Instructions and Writing Functions

  • Valentina Porcu


In this chapter we explore the ways to create a function and a loop in Python. We may need to create a loop to iterate an action over a list, or to create a function to extract some cases from a dataset. Writing functions is very important to automating data analysis.

Copyright information

© Valentina Porcu 2018

Authors and Affiliations

  • Valentina Porcu
    • 1
  1. 1.NuoroItaly

Personalised recommendations