因此,我尝试使用python中的dash plotly,以以下数据为例,制作一个交互式仪表板:
Date Traded Qty Deliverable Qty Delivery % LTP Open Interest
0 2020-12-18 29816205 5872798 19.70 268.15 73110000
1 2020-12-21 55160758 14528986 26.34 272.00 71454000
2 2020-12-22 51189571 10781372 21.06 253.85 71013000
3 2020-12-23 29056404 4792004 16.49 258.20 67350000
4 2020-12-24 28585509 6820426 23.86 263.75 68697000
它保存为熊猫数据帧,并希望与下图类似:
对不起,我画得太糟了。 在图表中,当鼠标悬停在“可交付数量”上时,我希望显示“交付%”
我没有Dash方面的经验,但是this page会帮你的。我建议您仔细研究一下,并在提问之前尝试编写一些代码。我在jupyterlab环境中,所以我为它实现了一些live riley
相关问题 更多 >
编程相关推荐