You have click events with possible duplicates on `(user_id, event_time)`. Write PySpark code to keep only the first event per user/time pair and report total unique events per day.
Examples
Input
events with duplicate user_id + event_time
Output
deduped count per event_date
Constraints
- Use window or dropDuplicates
- Aggregate by date