Skip to content

Commit

Permalink
Remove unneeded set_index
Browse files Browse the repository at this point in the history
`set_index` call maintained prior behavior of creating an index like
0,1,...,N,0,1,...,N. Now the index goes 0,1,...,2N. This index does not
get used so it is a harmless breaking change.
  • Loading branch information
TimothyWillard committed Jul 11, 2024
1 parent 7bd75af commit 88d6559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flepimop/gempyor_pkg/src/gempyor/outcomes.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ def compute_all_multioutcomes(
)
),
}
).set_index(pd.Index(2 * list(range(0, subpop_names_len))))
)
hpar_list.append(hpar)
# Now tackle NPI
if npi is not None:
Expand Down

0 comments on commit 88d6559

Please sign in to comment.