
This image is AI Generated
Are you ready to take your Python-PySpark skills to the next level? Here we have listed some exciting puzzles that will sharpen your day-to-day query writing skills and help you master PySpark.
Each puzzle comes with an integrated answer. You can reveal the solution by clicking the "Show Answer" button at the end — but challenge yourself to solve it first before peeking!
- Puzzle 1: Retrieve Customer and Their Orders 50% of Their Highest Order
- Puzzle 2: Find Total Orders by Each Customer with List of Ordered Items
- Puzzle 3: Find Countries with More Females than Males
- Puzzle 4: Find Customers with Big Transactions After 10 Days
- Puzzle 5: Behind the Leader: Spot the #2 Salary
- Puzzle 6: Identifying Top 3 Performers in Each Department
- Puzzle 7: Rank Customers by Lifetime Spending
- Puzzle 8: Rank the Employee Salaries and Extract Top Earners
- Puzzle 9 - Identify Frequent Customers
- Puzzle 10 - How to Filter and Retrieve the Second Transaction
- Puzzle 11 - How can you find the origin and destination locations for each customer using PySpark
- Puzzle 12 - How to find the most frequently used word in a text file
- Puzzle 13 - Generate Unique Match Schedule Between Departments
- Puzzle 14 - Recursive List Unpacking (with duplicates)
- Puzzle 15 - Non-Recursive List Unpacking(with duplicates)
- Puzzle 16 - Flatten the list without Duplicates
- Puzzle 17 - Flatten the list and Count the Occurrences