Data Processing Using Arrays In Python