Skip to content

Commit

Permalink
prim.py: Make PrimBox.peeling_trajectory["id"] int instead of float
Browse files Browse the repository at this point in the history
The "id" column in the PrimBox.peeling_trajectory DataFrame is better represented as an integer instead of a float
  • Loading branch information
EwoutH authored May 12, 2022
1 parent 6f4a4ae commit 215107e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ema_workbench/analysis/prim.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def __init__(self, prim, box_lims, indices):
"mean": pd.Series(dtype=float),
"res_dim": pd.Series(dtype=int),
"mass": pd.Series(dtype=float),
"id": pd.Series(dtype=float)}
"id": pd.Series(dtype=int)}

self.peeling_trajectory = pd.DataFrame(columns)

Expand Down

0 comments on commit 215107e

Please sign in to comment.