Skip to content

Commit

Permalink
Done, first draft, first results (awaiting metropolis output)
Browse files Browse the repository at this point in the history
  • Loading branch information
BAFurtado committed May 20, 2020
1 parent 2de46d4 commit 320e5ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion violence/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def summary():
try:
group_col = re.findall("\['(.*)'\]", file)[0]
data = data.groupby(group_col).agg('median').reset_index()
print(data.head())
print(data[[group_col, 'aggressor_pct']].head(8))
except IndexError:
num_steps = int(re.findall("_(.*).", file)[0].split('.')[0].split('_')[-1])
print(f'Número steps {num_steps}')
Expand Down

0 comments on commit 320e5ab

Please sign in to comment.