projects
/
matplotlib-cdsw
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added some challenges to the HP analysis.
[matplotlib-cdsw]
/
load_hp_data.py
diff --git
a/load_hp_data.py
b/load_hp_data.py
index 0fe78c55c1186d76bf1fd0f2033eb84274654bbe..55d497c441a5c0e2260a241fe700115f5231f035 100644
(file)
--- a/
load_hp_data.py
+++ b/
load_hp_data.py
@@
-22,7
+22,7
@@
for row in reader:
row['size'] = int(row['size'])
rows.append(row)
row['size'] = int(row['size'])
rows.append(row)
-# Sort these things, so that they give you nice time-series
+# Sort these things, so that they give you nice
ordered
time-series
sort_rows = sorted(rows, key=lambda row: row['timestamp'], reverse=False)
rows = sort_rows
sort_rows = sorted(rows, key=lambda row: row['timestamp'], reverse=False)
rows = sort_rows
Benjamin Mako Hill
||
Want to submit a patch?