我想通过下拉选项卡将这三个图合并为一个。有什么建议?我认为在具有不同值的地方没有下拉菜单是可能的??数据在底部。
Bets = pd.DataFrame(Season_group, columns=['BetW', 'BetR'])
Bets['NetNomR'] = Bets.BetR - 380
Bets['Return_pct'] = (Bets.BetR / 380 -1)
Bets['Return_pct'] = pd.Series(["{0:.2f}%".format(val * 100) for val in Bets['Return_pct']],index = Bets.index)
BetsPlot = pd.DataFrame(Season_group, columns=['BetW', 'BetR'])
BetsPlot['NetNomR'] = BetsPlot.BetR - 380
BetsPlot['Return_pct'] = (BetsPlot.BetR / 380 -1)
BetsBetW = BetsPlot.unstack().loc['09/10':'18/19', 'BetW']
BetsNetNomR = BetsPlot.unstack().loc['09/10':'18/19', 'NetNomR']
BetsReturn_pct = BetsPlot.unstack().loc['09/10':'18/19', 'Return_pct']
BetsBetW.plot.bar()
plt.title('Return')
BetsNetNomR.plot.bar()
plt.title('Net Return')
BetsReturn_pct.plot.bar()
plt.title('Net Percentage Return')