
PYTHON code to extract data from XML files
- or -
Post a project like this1755
£112(approx. $149)
- Posted:
- Proposals: 23
- Remote
- #2881837
- Awarded
Python | Data Analyst | Pandas | Seaborn | Matplotlib | Web Scraping | Automation

WordPress Expert✮Shopify Expert✮Graphic Designer✮AutoCAD 2D & 3D✮CV Writer & Designer✮Fullstack developer

Cloud (GCP/Azure) | ETL | Spark (PySpark/Scala) | Python | Data Science | Machine Learning
Data Scientist| Python Developer|Machine Learning and AI Expert |Academic writer | Software Developer| GIS Expert| Website Development| Accounting and Bookkeeping|

279206736365733181747970117336726246148926277543474267136678640667827320373162024




Description
Experience Level: Entry
Brief for PYTHON code to extract data from XML files.
Overview
We currently have a manual process to extract some information from 100s of XML files. Each file has a large amount of information. Whilst it only takes about 2 / 3 mins we would like a simple PYTHON code to performance this in an automated manner.
The manuals steps we do are as follows:
OUTPUT FILE 1
• Open XML using EXCEL
• Find “INSTANCE” column > this is the “MASTER COLUMN 1”
• Copy entire column and 4 columns to the left and right
• Paste the values into another EXCEL
• REMOVE BLANK ROWS
• Saves as CSV 1
OUTPUT FILE 2
• Open XML using EXCEL
• Find “ringstatus_parameter” column > “MASTER COLUMN 2”
• Copy entire column and 21 columns right
• Paste the values into another EXCEL
• REMOVE BLANK ROWS
• Saves as CSV 2
Please create a code that can take the INPUT file and produce the 2 Output files. The code must be adaptable so that it’s easy for us to change the “master column 1 or 2” and also change the variable for how many columns to the left or right we wish to capture i.e. rather than 4 as in OUTFILE 1 we may only want 3 in the future.
PLEASE USE CLIENT 1 XML file to create the code and make sure it works.
PLEASE USE CLIENT 2 as a secondary test to make sure the logic works based on the ISSUES (as per below)
Overview
We currently have a manual process to extract some information from 100s of XML files. Each file has a large amount of information. Whilst it only takes about 2 / 3 mins we would like a simple PYTHON code to performance this in an automated manner.
The manuals steps we do are as follows:
OUTPUT FILE 1
• Open XML using EXCEL
• Find “INSTANCE” column > this is the “MASTER COLUMN 1”
• Copy entire column and 4 columns to the left and right
• Paste the values into another EXCEL
• REMOVE BLANK ROWS
• Saves as CSV 1
OUTPUT FILE 2
• Open XML using EXCEL
• Find “ringstatus_parameter” column > “MASTER COLUMN 2”
• Copy entire column and 21 columns right
• Paste the values into another EXCEL
• REMOVE BLANK ROWS
• Saves as CSV 2
Please create a code that can take the INPUT file and produce the 2 Output files. The code must be adaptable so that it’s easy for us to change the “master column 1 or 2” and also change the variable for how many columns to the left or right we wish to capture i.e. rather than 4 as in OUTFILE 1 we may only want 3 in the future.
PLEASE USE CLIENT 1 XML file to create the code and make sure it works.
PLEASE USE CLIENT 2 as a secondary test to make sure the logic works based on the ISSUES (as per below)

Dilhan D.
100% (22)Projects Completed
28
Freelancers worked with
25
Projects awarded
47%
Last project
5 Jul 2024
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies