I have data in 1 min intervals, and I want to change the granularity to 5 mins, and calculate the basic data statistics using .groupby as such:
df2 = df1.groupby(pd.Grouper(freq='5Min',closed='right',label='right')).agg({
"value1": "mean", "value2": "max",
"value3": "quantile"})
I want to get quartile/quantile data as well, but can't assign specific quantile point. The default is 50th quantile. How do I get the 75th quantile for value3?