Assignment (Text Data Processing)#

(Last updated: Jan 29, 2024)1

Materials#

Usage#

Follow the steps below to set up the assignment:

  • Have the JupyterLab environment ready.

  • Download the text data processing module from the GitHub repository. Or you can also download the zip file from this link.

  • Open the notebook file and start doing the assignment.

Follow the steps below to do the assignment:

  • Complete the assignments that are indicated in the tutorial notebook. You can leave out the optional assignment if it is too difficult or takes too much time.

  • 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 and numpy API when writing the code.


1

Credit: this teaching material is created by Robert van Straten under the supervision of Yen-Chia Hsu.