def cache(table, n=None):

    return CacheView(table, n=n)
Wrap the table with a cache that caches up to `n` rows as they are initially
dataset/ETHPy150Open alimanfoo/petl/petl/util/materialise.py/cache