Cool Python Trick -- Access repeating numbers
If you want to access a list of repeating numbers and the peiod is different from the array size you can avoid having to calculate for the edge case by using itertools like so:
900 N Glebe Rd Computer Science Dept., Virginia Tech Arlington, Va 22203 Work: 540-585-4287
I am currently working in the realm of data mining, specifically in temporal data mining, and visual analytics for use in intelligence analysis. I work with Naren Ramakrishnan on among other things the EMBERS project. I have also done some research in distributed data storage, and computer security. Although not strictly research, I have also had a strong interest in computer and network security, robotics, and as many other geeky things as I could find time for.
If you want to access a list of repeating numbers and the peiod is different from the array size you can avoid having to calculate for the edge case by using itertools like so: