def __init__(self, filename=None):
        self.filename = None
        if filename:
            self.load(filename)
def test_impl(df):
            B = df.A.str.replace('AB*', 'EE', regex=True)
            return B