write python script to change nested JSON bank statement files to CSV
£2-5 GBP / time
I have the following JSON file(attached), I need it to be changed to a CSV file looking like the one that has been uploaded.
I can use a converter to do this, however I would like someone to write a short python script for me where I only have to change the '[login to view URL]' and '[login to view URL]' file names or something similar, or as close to that result as possible as I have many many different files with the exact same format that I need to convert to CSV.
I'm inexperienced in Python so I've tried this(below) and failed - thanks!
import csv
import json
with open("[login to view URL]", "r") as inputFile: # open json file
data = [login to view URL]([login to view URL]()) # load json content
data['PTransactionDate'] = []
data ['PValueDate'] = []
data ['PNarration'] = []
with open("[login to view URL]", "w") as outputFile: # open csv file
output = [login to view URL](outputFile, [login to view URL]()) # create a writer
[login to view URL]()
[login to view URL](data)
Projekt ID: #16535055
Om projektet
Tildelt til:
Experienced professional in python. Have worked in multiple data extraction formats. Such as PDF, JSON, HTML using python.
4 freelancere byder i gennemsnit £4/timen for dette job
Hi I have gone through your requirement. please send me your requirement. we have professional team for your project. please contact for work.