You are given a Spark DataFrame 'df' with a categorical column 'category'. Write a code snippet that computes the mode (most frequently occurring value) of the 'category' column using the 'mode' function, and explain the steps involved. | Databricks Certified Machine Learning - Associate Quiz - LeetQuiz