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.
42f87fd
1 month agoKadELbied
2 months, 2 weeks agoimatheushenrique
7 months, 2 weeks agoJay_98_11
1 year agokz_data
1 year agoBIKRAM063
1 year, 2 months agosturcu
1 year, 3 months agoEertyy
1 year, 3 months agothxsgod
1 year, 4 months ago