Skip to content

Commit

Permalink
#359 Remove units from column names
Browse files Browse the repository at this point in the history
  • Loading branch information
fcooper8472 committed May 2, 2019
1 parent a14f35b commit 7ef8389
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/smif/data_layer/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,12 +229,6 @@ def read(self,

formatted_frame = formatted_frame.drop(columns=['timestep_decision'])

# Rename the output columns to include units
renamed_cols = dict()
for key, val in self._output_units.items():
renamed_cols[key] = '{}_({})'.format(key, val)
formatted_frame = formatted_frame.rename(index=str, columns=renamed_cols)

# Now reorder the columns. Want model_run then timestep then decision
cols = formatted_frame.columns.tolist()

Expand Down

0 comments on commit 7ef8389

Please sign in to comment.