def __init__(self, filename=None):
        self.filename = None
        if filename:
            self.load(filename)
def test_impl(n):
            df = pd.DataFrame({'A': np.arange(n)})
            df.A[2] = 0
            return df.A.nunique()