diff --git a/combined/data_report.py b/combined/data_report.py index 3063895..8fc3f92 100644 --- a/combined/data_report.py +++ b/combined/data_report.py @@ -54,12 +54,11 @@ table = pd.DataFrame(datasets, columns=('Superfamily', 'Family', 'Title', 'Stage')) table +# - -# + table = table.groupby(['Superfamily', 'Family'])['Stage'].value_counts().reset_index(name='Count') table -#+ table \ .pivot_table(index='Family', columns='Stage', values='Count', fill_value=0) \ .loc[:,['Backlog','Candidate', 'Prioritized', 'Published']] \