changed agg() to aggfunc(self, row) in column_functions
Fixed MemoryError in present