Python code for Products data (PR).py