def fatal(message, **kwargs):
    error(message, level="fatal", **kwargs)
def test_impl(n):
            df = pd.DataFrame({'A': np.arange(n) + 1.0, 'B': np.random.ranf(n)})
            Ac = df.A.shift(1)
            return Ac.sum()