def derivative_col1(self):
    self['derivative_col1'] = result = self['basic_col1'] + self['basic_col2']
return result
x = LazyFrame({'basic_col1': [1, 2, 3], 'basic_col2': [4, 5, 6]})
print(x)
How to create lazy_evaluated dataframe columns in Pandas