There is somehow no real good interface between Python and Cadence. There are toolboxes in Matlab but those are paid, and even if you have Matlab it’s useless if Matlab is on your Windows machine and not on the Linux server Cadence is running on. Here are some ways you can safely save/export your data, and ways to process it “offline”.
Saving waveforms for later viewing in ViVA
scan_in = vtime('tran "/si")
sclk = vtime('tran "/sclk")
sresetn = vtime('tran "/sresetn")
supdate = vtime('tran "/areset_supdate")
data_out_t = vtime('tran "/I0/reg_data<31:0>")
abDumpWaveformsToVCSV(sdi sresetn supdate sclk data_out_t ?expr '("DATA_IN" "SRESETN" "SUPDATE" "SCLK" "DATA_OUT") ?file "./dump.vcsv")