rosacastillo
commited on
Commit
·
7aa7dd1
1
Parent(s):
7180829
updating the time format of tools accuracy
Browse files
data/tools_accuracy.csv
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:15077d12895fc6ee9f9e8e1ac3a1d84e45350e261590bb15af5a11378ce83c49
|
3 |
+
size 1101
|
scripts/update_tools_accuracy.py
CHANGED
@@ -65,6 +65,8 @@ def update_tools_accuracy(
|
|
65 |
print("tools to update")
|
66 |
print(tools_to_update)
|
67 |
existing_tools = list(tools_acc["tool"].values)
|
|
|
|
|
68 |
for tool in tools_to_update:
|
69 |
new_accuracy = acc_info[acc_info["tool"] == tool]["tool_accuracy"].values[0]
|
70 |
new_volume = acc_info[acc_info["tool"] == tool]["total_requests"].values[0]
|
|
|
65 |
print("tools to update")
|
66 |
print(tools_to_update)
|
67 |
existing_tools = list(tools_acc["tool"].values)
|
68 |
+
acc_info["min"] = acc_info["min"].dt.strftime("%Y-%m-%d %H:%M:%S")
|
69 |
+
acc_info["max"] = acc_info["max"].dt.strftime("%Y-%m-%d %H:%M:%S")
|
70 |
for tool in tools_to_update:
|
71 |
new_accuracy = acc_info[acc_info["tool"] == tool]["tool_accuracy"].values[0]
|
72 |
new_volume = acc_info[acc_info["tool"] == tool]["total_requests"].values[0]
|