Implemented ability to retrieve tally data and statistics into numpy array in python