Is there a pivot() function?

User 2568 | 1/9/2016, 3:18:39 AM

Is there a pivot() function. I could not find one and used instead

tab.groupby(["severity_type", "resource_type"],
            {"count":gl.aggregate.COUNT("id")}).groupby([ "resource_type"],
            {"s":gl.aggregate.CONCAT("severity_type", "count")}).unpack('s')

Comments

User 2535 | 1/12/2016, 5:37:56 PM

Hi @Kevin_McIsaac,

There is not a pivot function, but several people have requested it. I'll relay the request to the team for consideration.

Thanks. Jon