如何在仪表板上显示表的特定行
我正在尝试从仪表板表中显示一行,但事实是我尝试了所有内容,并且它显示了完整的数据框架,任何人都可以在这里帮助我吗?
html.Div([
dash_table.DataTable(df.to_dict('records'), [{"name": i, "id": i} for i in df.columns[2:10]])
]),
I'm trying to display a single row from my dash table, but the thing is that I've tried everything and it displays the complete dataframe, anyone coould help me here?
html.Div([
dash_table.DataTable(df.to_dict('records'), [{"name": i, "id": i} for i in df.columns[2:10]])
]),
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论