-
Notifications
You must be signed in to change notification settings - Fork 114
Description
What would you like to say?
We recently added the .summarize method that create a MetricsSummaryDisplay to align the API of the object. We should now revisit a bit the API of the summarize function and the frame method and specifically the data structure stored in the display.
With the experience gather with the other display, we should store a "long" dataframe in the display because it can accommodate all the different combination of reports. The frame method will have a job to transform this "long" dataframe to a "wide" dataframe whenever possible depending on the case.
In terms of API, we should move the parameter indicator_favorability , flat_index, aggregate as parameter into the frame method because they just modify the structure of the dataframe. We can switch flat_index to True to make it easy to index the dataframe.