Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 715 Bytes

File metadata and controls

22 lines (15 loc) · 715 Bytes

Session 8 Homework Reference Notes

Colab notebook

Students should submit a link to their own Colab notebook.

Expected work

A complete homework submission should:

  • use PySpark instead of pandas for the main analytics work
  • create at least 12 rows
  • add a calculated column
  • register a temporary SQL view
  • include at least 4 Spark SQL queries
  • include one grouped summary and one sorted result
  • explain at least 2 results in plain English
  • stop Spark at the end

Example feedback

Strong submissions usually explain the meaning of the query output, not only the code. For example, "Athens had the highest revenue because laptop sales dominated the total" is better than "I used GROUP BY city."