dendrobates-t-azureus/cache_utils/results-2020-04-07-5c025fb/analyse_csv.py

15 lines
391 B
Python
Raw Normal View History

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())