MEMB_LISTS is currently a dict structured as Date: DataFrame.
MEMB_METRICS is currently a dict of dicts structured as Column: Date: Series and needs to be in a format like this to facilitate the timeline construction.
From some reading, it sounds pandas has pivot functions that can convert between these in simpler ways if the entire data was stored in a single DataFrame. I just have not been able to figure out how all that works so far.
I think what I'm looking for a multi-index based on actionkit_id and list date, but I'm not sure.
MEMB_LISTS is currently a dict structured as Date: DataFrame. MEMB_METRICS is currently a dict of dicts structured as Column: Date: Series and needs to be in a format like this to facilitate the timeline construction.
From some reading, it sounds pandas has pivot functions that can convert between these in simpler ways if the entire data was stored in a single DataFrame. I just have not been able to figure out how all that works so far.
I think what I'm looking for a multi-index based on actionkit_id and list date, but I'm not sure.