What will be python code for applying percentile in Aggfunc in a pivot table?

前端 未结 0 1508
我在风中等你
我在风中等你 2020-12-08 15:35

pivot = pd.pivot_table(df,index=[\'Item name list\', \'Date\'], aggfunc={\'p2d_quantity\':np.sum,\'timestamps\':np.percentile(99.5)})

getting error as "TypeError

相关标签:
回答
  • 消灭零回复
提交回复
热议问题