WHY PIVOT TABLE PRINT VARIABLE IN ASCENDING decimal order in pandas code example
Example: pivot table with lambda
pct_75 = lambda y: np.percentile(y, 75)
pct_75 .__name__ = 'pct_75 '
pct_25 = lambda y: np.percentile(y, 25)
pct_25 .__name__ = 'pct_25'