(Aug-30-2018, 06:07 PM)simms7400 Wrote: So essentially, the argument is a report I run from a HelpDesk system which consists of three columns:well, that is strange....
Quote:
workorderid,emailid,last_tech_update
you claim the file consists of three columns, which suggests csv file based on the header you show.
at the same time you try to load it as json file in the read_file function. I would expect you will get JSONDecoderError long before getting to KeyError.
What is the file actual file format? That is why I ask to see sample of the file. Help us to help you, don't make us ask same thing over and over again
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs