Python Coding Warm-Up#

(Last updated: Jan 30, 2024)1

Materials#

Usage#

Follow the steps below to set up the notebook:

  • Have the JupyterLab environment ready.

  • Download the python coding warm-up GitHub repository. Or you can also download the zip file from this link.

  • Open the notebook file (docs/python-warm-up-notebook.ipynb) and start working on the tasks.

Follow the steps below to do the tasks:

  • First, for each task, try your best to implement the solution without checking the answer.

  • In the meantime, use the hint in the task description. You can also check the functions that are mentioned in the hint online.

  • Try your best to implement the solution using the functions in the hint. If you still have no clue, check the answer, understand how it works, and implement the solution again by yourself.

  • If there are parts that you do not understand, feel free to ask questions during the work sessions or on Canvas.

Additional Recourses#

Check the pandas API when writing the code. If you have finished the tasks and want to practice more, below are some resources for self-study:


1

Credit: this teaching material is created by Yen-Chia Hsu.