Visualization Ploty

问题描述 投票:1回答:1

我有以下窗格数据框:

date    allocated_reason        allocated   bk_task

2019-10-27  AI               Allocated  1051
2019-11-03  AI               Allocated  1471
2019-10-27  Self Allocation      Allocated  291
2019-11-03  Self Allocation      Allocated  274
2019-11-10  Self Allocation      Allocated  40
2019-10-27  AI               Not Allocated  3570
2019-11-03  AI               Not Allocated  3267
2019-11-10  AI               Not Allocated  598

日期是索引,bk_tasks是每种组合的任务数:例如。 27/10周中有1051个任务是AI +已分配。

我想让一个棒图巫婆每个星期有2条:1条包含未分配任务的数量,另1条包含分配的任务,我希望每个条都按AI或自我分配进行分组。

python pandas plotly visualization
1个回答
0
投票

看来,应对挑战的好方法是必须包括组合的[[和堆叠条形图的组合。目前,这似乎还不容易获得option for plotly。如果您愿意接受其他方法,请随时与我们联系。

© www.soinside.com 2019 - 2024. All rights reserved.