JSONDecodeError: Expecting value: line 1 column 1 (char 0). Error from task 5.51 for the taiwan bankruptcy assignment y

I keep getting the same error message for task 5.5.1 for the taiwan bankruptcy assignment.

it also says the file could be empty.

Other places to consult:


Likely this is not a Jupyter issue, and therefore not pertinent to posting in this forum.
I suspect if you ran this code directly with Python in the same environment & situation, not involving Jupyter, you’d encounter the same issue. As it is stated this is an assignment, the best persons to contact would be those who gave you the assignment. We don’t have access to the file. Next time you have something to post in the appropriate forum, please consider the next section…

For future reference, please see and follow Getting good answers to your questions . That quick overview has a link at the bottom to a thorough guide here’ How do I ask a good question?’ that is very suitable for forums like this one. Under the bold subheading ’ Help others reproduce the problem’ in bold it emphasizes ** DO NOT post images of code, data, error messages, etc*. That section links to ‘Why should I not upload images of code/data/errors?’ that should provide more detail of why your posted image is not very helpful. If it is too long you can post a significant portion here and put all of it in a Github gist or other code snipper sharing site and refer us to that for more information.

2 Likes