Code Monkey home page Code Monkey logo

bluejay_assignment's Introduction

BlueJay Assignment

This repository contains the codebase for the assignment for Software Devloper Role in BlueJay Delivery. The assignment involves reading an Excel file containing timecard data, identifying employees who meet certain criteria, and printing the name and position of the identified employees to the console and to a file.

How it works

The program is written in Python and uses the pandas library to read and manipulate the Excel file. The program iterates through the data structure to identify employees who meet the following criteria:

  • Have worked for 7 consecutive days
  • Have less than 10 hours of time between shifts but greater than 1 hour
  • Have worked for more than 14 hours in a single shift

The program prints the name and position of the identified employees to the console and writes the console output to a file named output.txt in the base folder of the Git repository.

How I completed the assignment

To complete the assignment, I used the pandas library to read and manipulate the Excel file. I used Python to write the program and tested it using sample data provided in the assignment. I then created a public Git repository on GitHub and pushed the codebase and console output to the repository.

Requirements

To run the program, you will need to have Python 3 and the pandas library installed on your machine. You will also need to have an Excel file containing timecard data in the same directory as the Python script.

Usage

To run the program, navigate to the directory containing the Python script and the Excel file and run the following command:

python assignment.py

The program will print the name and position of the identified employees to the console and write the console output to a file named output.txt in the base folder of the Git repository.

bluejay_assignment's People

Contributors

miikkuu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.