def __init__(self, filename=None):
        self.filename = None
        if filename:
            self.load(filename)
def test_impl(n):
            df = pd.DataFrame({'A': np.ones(n), 'B': np.random.ranf(n)})
            Ac = df.A.cumsum()
            return Ac.sum()