Aggregation with user defined functions.

User 1766 | 11/8/2015, 9:34:04 PM

Hello,

Is there a way to do aggregation with user defined functions or it is only COUNT, MEAN, etc?

Vladimir

Comments

User 2156 | 11/9/2015, 5:02:23 AM

Hi forseti,

The list of aggregators supported by sframe can be found here: https://dato.com/products/create/docs/graphlab.data_structures.aggregation.html?highlight=aggregate#module-graphlab.aggregate

You may want to use graphlab.aggregate.CONCAT to aggregate each group into one row and design your customized lambda function to process the concatenated result in each row.

Best,