Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Challenge: Report Key Operational Metrics | Automating Reports and Visual Insights
Python Automation for Reports and Visual Insights
Osio 1. Luku 10
single

single

bookChallenge: Report Key Operational Metrics

Pyyhkäise näyttääksesi valikon

Tehtävä

Pyyhkäise aloittaaksesi koodauksen

Given a DataFrame with columns event_timestamp (datetime) and processing_duration (seconds), calculate and print a summary report of average processing time and throughput (events per hour).

  • Compute the average of the processing_duration column.
  • Determine the total number of hours between the earliest and latest event_timestamp values.
  • Calculate throughput as the number of rows in the DataFrame divided by the total hours.
  • Print a summary report showing average processing time (rounded to two decimal places) and throughput (rounded to two decimal places).

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 10
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

some-alt