Answered step by step
Verified Expert Solution
Question
1 Approved Answer
need assistance in writing a python 3 . x and require explicit details : Command Run Python command should be something like the following, where
need assistance in writing a pythonx and require explicit details : Command Run
Python command should be something like the following, where translation.py is the name of the python script file.
python translation.py DPSDF yyyymd
SDF Translation
First column:
Ignore lines
X lines are Per Performance Employees
W lines are regular employees
First zero after W or X is ignored
Ensure only converting EMS rows
Translation
Translate SSN to EID using the last digits of the SSN
NOTE: Luke M will providing a EMS CSV of SSNEID mapping that will have either the last or last of the SSN
Perperformance Output
Should output to single CSV file called EMSPPPPdateherecsv
employee idend date of time periodPerformances,number of hours
egPerformances,
The two possible dates are teh Week and Week Ending Saturday dates.
For the pay period ending the two dates would be either or
Regular Employees Output
Should output to single CSV file called EMSBWPPdateherecsv
Example
WXXXXXXXXXEMS KSG
Columns:
Interpret as noted above
WeekShifts
WeekStraightOvertime
WeekFLSAOvertime
WeekShifts
WeekStraightOvertime
WeekFLSAOvertime
Docked
Vacation
SickLeave
CompTimeEarned
CompTimeTaken
WeekFireShift
WeekFireShift
MedicalLeave
Output by row:
Vacation Used Info from Col always use end date of PP
Vacation Used Info,
Shift Pay City Week from Col
Shift Pay City,
Shift Pay City Week from Col
Shift Pay City,
ST Overtime Week from Col & summed
ST Overtime,
ST Overtime Week from Col & summed
ST Overtime,
Docked Pay from Col always use end date of PP
Docked Pay,
Medical Used Info from Col always use end date of PP
Medical Used Info,
Note that number on SDF has decimal place, but gets translated to here.
Sick Used Info from Col
Sick Used Info,
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started