Various Python scripts for data analysis