Chapter 12 Functions
In theory, you can already write very complicated codes, accomplishing a lot of data analysis tasks. In this chapter, you will learn a very powerful tool, functions. Functions have the following advantages.
- Functions can avoid code duplication.
- Functions can make the code more readable.
- Functions are invaluable for collaboration in projects.