PySpark Interview Questions and Answers
Question: Explain the purpose of the 'window' function in PySpark.Answer: The 'window' function is used for defining windows over data based on partitioning and ordering, often used with aggregation functions.Example:
|
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Is it helpful? Yes No
Most helpful rated by users: