is there a way to save bokeh data table content

后端 未结 3 723
闹比i
闹比i 2020-12-16 18:53

I am experimenting with bokeh data table to display data embedded in web page. It works quite nicely.

Is there a way to save the table content from the displayed da

3条回答
  •  不知归路
    2020-12-16 19:12

    It would be nice if bokeh provides a tool button for saving/exporting the data table to csv / txt / excel files. If it already does, I have not found it in the document yet.

    In the mean time, a possible answer is to export the js array (that is underneath the bokeh data table) to CSV using native javascript. It has been described here and here.

    ADD: bokeh has callbacks for using js. A simple description is here. still reading about it ...

    EDIT: It is probably there for a while now, but I have just noticed an example on Bokeh website for saving csv from data table.

提交回复
热议问题