Open dataset_purchase.tgz file here for loading the Purchase dataset in accordance with Shokri et al.'s setup. Convert the resulting dataset_purchase file into csv by simply adding file extension at the end of its name. dataset_purchase => dataset_purchase.csv

Source: https://www.comp.nus.edu.sg/~reza/files/dataset_purchase.tgz