Dash table based on pivot table created on run time

Hi, I need to load a pandas pivot table as a dash table in a multi page application. Pivot table could potentially have different number of columns during each execution. Basically columns would be ageing buckets like 0-30 days,31 -to 60 days. Below is a sample on how pivot table columns would change. Any suggestions on how I can create a datatable like this where number of columns would change. Thank you.


|5 |7 |12 |10 |


|5 |12 |22 |