Python Forum
Automate process _ 2 cvs files
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Automate process _ 2 cvs files
#1
I’m new to python / pandas and wanted to see if its possible to automate our existing manual; process using python.

File1 (resource allocations). All resource allocations add up to 100%
Column headings are as follows
Resource email
Area
Team name
Programme Name (programme 1, 2 or 3)
Jan
Feb
Mar
Through to Dec

E.g John would have 3 rows of data if assigned across 3 programmes at 20%,50% and 30%


File 2 ( latest allocations by team against the programmes ) - each team allocations adds to 100%. E.g. Team Spain are 100% on Programme 1. Team Italy are 30% on Programme 1, 50% on Programme 2 and 20% on Programme 3.
Columns in this file are:
Area (World, Europe or Local)
Team name (Spain,Italy, Germany)
Start date - 01/07/2020
Finish date - 31/08/2020
Programme 1
Programme 2
Programme 3

Objective of automation. By looking at team name using file 2, run through file 1 to update July and August columns based upon the latest allocations for the teams. Creating or deleting new rows if required.
E.g If john was previously assigned to all 3 programmes but File 2 shows his latest team is only on programme 2 at 100% than remove 2 rows and ensure the correct programme for that team is displayed with correct % for the columns based upon start and finish dates. In this instance allocations will be updated for months of July and August.

Generate a new cvs with output.
Reply
#2
Quote:I’m new to python / pandas and wanted to see if its possible to automate our existing manual; process using python.
Yes, it's probable.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to automate the process br0oJ 0 249 Feb-14-2024, 12:01 PM
Last Post: br0oJ
  Process multiple pdf files Spartan314 1 1,316 Oct-27-2021, 10:46 PM
Last Post: Larz60+
  Files to store configuration and steps for a industrial process control application Danieru 1 1,779 Aug-03-2020, 05:43 PM
Last Post: buran
  How to sharing object between multiple process from main process using Pipe Subrata 1 3,661 Sep-03-2019, 09:49 PM
Last Post: woooee
  1. How can I automate this batch creation of documents? 2. How can I automate posting SamLearnsPython 2 3,424 Jul-02-2018, 11:36 AM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020