Is it possible to show contents of data frame in a repeating panel. I’m thinking something like this:
self.repeating_panel_1.items = dataframe
So far I have been putting my data into a datatable and then doing:
self.repeating_panel_1.items = app_tables.table1.search()
This way has been pretty slow and hoping for a faster way.
Thanks!
Yes absolutely.
I’m on my phone right now so I can’t check on the exact details; however, you can convert your dataframe to a list of dicts and pass that to your repeating panel.
The repeating panel will never know the difference
.
I think you go:
my_list = df.to_dict(orient=“records”)
Something like that. A quick Google or forum search should help you get the rest of the way.
You still have to do the appropriate data binding of course.
2 Likes