Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: Report Key Operational Metrics | Automating Reports and Visual Insights
Python Automation for Reports and Visual Insights
Секція 1. Розділ 10
single

single

bookChallenge: Report Key Operational Metrics

Свайпніть щоб показати меню

Завдання

Проведіть, щоб почати кодувати

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).

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 10
single

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

some-alt