10 lines
229 B
Python
10 lines
229 B
Python
import pickle
|
|
|
|
import numpy as np
|
|
|
|
with open("metrics.dat", "rb") as file:
|
|
metrics = pickle.load(file)
|
|
entries = metrics["entries"]
|
|
with open("entries.dat", "wb") as file:
|
|
pickle.dump(np.array(entries).transpose(), file)
|