-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hello,
Thank you for this code. I have referred it to get CSVs of Books.json.gz from Amazon reviews.
However, I encountered following challenges --
1) failed due to missing fieldnames
The program failed due to missing fieldnames. I found that following field names - 'style', 'verified', 'image', 'vote' were not present. Chances are that they are specific to Book reviews but if we'll have a try catch option, the program will not fail.
Link: http://deepyeti.ucsd.edu/jianmo/amazon/categoryFiles/Books.json.gz
2) NameError: name 'false' is not defined
I encountered this and since my work is for educational purpose, I did a workaround of false = False from this link. I know this is not correct way but I added following lines:
false = False
true = True
before following sentence at line 58:
#count lines and read in field names on first pass
Metadata
Metadata
Assignees
Labels
No labels