dendrobates-t-azureus/cache_utils/results-2020-04-07-5c025fb/analyse_csv.py
Guillume DIDIER bb8996efd0 Add analysis python script
This script currently just parses the CSV.
Future update should include plotting various metrics.
2020-04-13 11:16:46 +02:00

15 lines
391 B
Python

import pandas
columns = ["Addr", "Hash"]
core_number = 8 # FIXME
for i in range(0, core_number):
for stat in ["Min", "Med", "Max"]:
for op in ["Hit", "Miss"]:
columns.append(op + str(i) + stat)
columns.append("Hmm")
df = pandas.read_csv("citron-vert/combined.csv", header=0, names=columns)
selected_columns = columns[:-1]
df = df[selected_columns]
print(df.head())