Python 中的交互式矩阵输入(类似于 R Shiny 中的 shinyMatrix)

Interactive matrix input in Python (analog to shinyMatrix in R Shiny)

在 R shiny 中有一个包 shinyMatrix,它使用户能够为 R shiny 应用程序提供交互式矩阵输入。这意味着您会看到一个实际的 table,您可以在其中修改要输入的 Matrix 的每个值。 (参见:https://www.r-bloggers.com/2020/02/shinymatrix-matrix-input-for-shiny-apps/

有没有可能在Python中也有这样的东西?

有没有可能在Python中也有这样的东西?

是的,Dash can provide interactive web data visulation thus is similar in purpose to shiny. DataTable widget provide table which should suffice if you are working with 2D matrices. In DataTable editable feature docs您可以从此类元素更新图中找到包含数据的工作示例。