Interesting write up. Where did the data come from? Does Amazon publish the raw data in the format that is loaded or was it scraped?
"I wrote a simple Python script to combine the per-category ratings-only data from the Amazon product reviews dataset curated by Julian McAuley, Rahul Pandey, and Jure Leskovec for their 2015 paper Inferring Networks of Substitutable and Complementary Products"
On the page it says:
Amazon review data will be made available (for research purposes) on request