Create a Python pipeline for mass data reduction