Render panel Dataframe in hv.DynamicMap

I would like to use the pn.Widgets.DataFrame inside a hv.DynamicMap that is updated with a stream. Is this possible? I tried creating a function that returns the pn.Widgets.DataFrame inside of hv.DynamicMap but I get the following error:

TypeError: DynamicMap does not accept Row type, data elements have to be a ('ViewableElement', 'NdMapping', 'Layout').

Perhaps you can access the dataframe.value property. Also your dataframe type doesn’t seem to be just dataframe; it seems to be wrapped in a pn.Row.

It turns out that there is a hv.Table that can be used as a substitute for the data frame for my purposes. Thanks!

2 Likes