delay
This commit is contained in:
parent
6442356450
commit
7295530501
12
plot/main.py
12
plot/main.py
@ -45,6 +45,18 @@ def rb_available() -> np.ndarray:
|
||||
"""
|
||||
return available
|
||||
|
||||
def delay() -> np.ndarray:
|
||||
delays = np.zeros((size, 2))
|
||||
nb = 0
|
||||
for i in nb_files:
|
||||
data = pd.read_csv(".." + os.sep + "export" + os.sep + i, delimiter=';').to_numpy()
|
||||
nb_users = i.split(".")[0]
|
||||
d = data[:, 5]
|
||||
for x in d:
|
||||
delays[nb, 0] = int(nb_users)
|
||||
delays[nb, 1] = float(x)
|
||||
nb += 1
|
||||
return delays
|
||||
|
||||
averages = mean_mkn()
|
||||
available = rb_available()
|
||||
|
Reference in New Issue
Block a user