我想为从Flask返回到html函数的表的每一列/每一行创建链接
例如:
In each column/row I need a link with the month and branch to return the details
我的代码:
dfResult = pd.pivot_table(df1,
#columns=['Branch'],
values=['Vessels Count'],
columns=['Branch'],
index=['Month'],
aggfunc=np.sum,
margins=True,
margins_name='Total',
fill_value=0).astype(np.float64).round(2).T
return(dfResult.to_html(classes='mystyle'))
提前谢谢
目前没有回答
相关问题 更多 >
编程相关推荐