def save(self, doc):
        if doc.id:
            return self.update(doc)
        else:
            return self.insert(doc)
def test_impl(df):
            df2 = df[['A']]
            df2['A'] += 10
            return df2.A, df.A