https://github.com/halas77/work_assignment
https://github.com/halas77/work_assignment
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/halas77/work_assignment
- Owner: halas77
- Created: 2024-01-25T19:14:24.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-26T05:59:15.000Z (over 1 year ago)
- Last Synced: 2025-01-14T07:49:56.764Z (4 months ago)
- Language: Python
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Employee Data Analysis
## Overview
This repository contains Python scripts for analyzing employee data from a CSV file. The scripts focus on three specific analyses:
1. **Identifying Employees Working for 7 Consecutive Days**
- `7_consecutive_days.py`2. **Finding Employees with Less than 10 Hours but Greater than 1 Hour Between Shifts**
- `less_10_greater_1.py`3. **Identifying Employees Working for More than 14 Hours in a Single Shift**
- `greater_14.py`## Output
The output of the analysis scripts is stored in `output.txt`. This file consolidates the results from the three scripts:
1. **Employees Working for 7 Consecutive Days:**
- Lists employees who have worked for 7 consecutive days.2. **Employees with Time Between Shifts:**
- Provides information about employees who have less than 10 hours but greater than 1 hour between shifts.3. **Employees with Long Shifts:**
- Identifies employees who have worked for more than 14 hours in a single shift.Each section in `output.txt` is clearly labeled, making it easy to identify the results of each specific analysis.