Skip to content

Commit a4ab948

Browse files
committed
Uses set_index accross scripts
1 parent 999972b commit a4ab948

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scripts/3-report/github_report.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ def plot_totals_by_restriction(args):
200200
name_label = "Category"
201201
data_label = "Count"
202202
data = shared.open_data_file(LOGGER, file_path, index_col=name_label)
203+
data.set_index(name_label, inplace=True)
203204
data.sort_values(name_label, ascending=False, inplace=True)
204205
title = "Totals by restriction"
205206
plt = plot.combined_plot(

0 commit comments

Comments
 (0)