Added support and tests for sampling from pytables and bcolz data structures.