This script is specifically designed for analyzing Zoom recording data. It processes the data from a CSV file, focusing on user view durations, and computes various statistics like the most engaged viewer, total and average view durations.
The script executes the following tasks:
- Imports Zoom recording data from a CSV file named
data.csv
. - Converts the 'View Duration (minutes)' field to numeric, treating errors as NaN (Not a Number).
- Replaces NaN values in 'View Duration (minutes)' with 0.
- Aggregates view durations for each user.
- Identifies and prints the user with the highest view duration.
- Displays a sorted list of users by their view duration.
- Calculates the total view duration for all users and displays it.
- Computes and displays the average view duration per user.
- Python environment.
- Pandas library.
To install Pandas, use: pip install pandas
- Ensure the CSV file containing Zoom recording data is named
data.csv
and placed in the same directory as the script. - Run the script in your Python environment.
The script provides:
- The most engaged user based on view duration in minutes.
- A ranked list of users by view duration.
- Total view duration across all users.
- Average view duration per user.
The data.csv
file should include at least these columns:
User Name
View Duration (minutes)
The script expects this specific format for accurate analysis of Zoom recording data.