A junior data engineer has been asked to develop a streaming data pipeline with a grouped aggregation using DataFrame df. The pipeline needs to calculate the average humidity and average temperature for each non-overlapping five-minute interval. Events are recorded once per minute per device.
Streaming DataFrame df has the following schema:
"device_id INT, event_time TIMESTAMP, temp FLOAT, humidity FLOAT"
Code block:
Choose the response that correctly fills in the blank within the code block to complete this task.
imatheushenrique
1 month, 3 weeks agoJay_98_11
6 months, 2 weeks agokz_data
6 months, 2 weeks agoBIKRAM063
8 months, 3 weeks agosturcu
9 months, 2 weeks agoEertyy
10 months, 1 week agothxsgod
10 months, 3 weeks ago