From de459e13a48d7c66e8dcbecd4b007d9915daf9f3 Mon Sep 17 00:00:00 2001
From: rubegar <ruben.garcia.vazquez@estudiantes.uva.es>
Date: Wed, 19 Jun 2024 17:55:00 +0000
Subject: [PATCH] Delete peticiones.py

---
 peticiones.py | 19 -------------------
 1 file changed, 19 deletions(-)
 delete mode 100644 peticiones.py

diff --git a/peticiones.py b/peticiones.py
deleted file mode 100644
index cec6218..0000000
--- a/peticiones.py
+++ /dev/null
@@ -1,19 +0,0 @@
-import csv
-from collections import Counter
-
-def count_thread_names(csv_file):
-    thread_names = []
-    with open(csv_file, 'r') as file:
-        reader = csv.DictReader(file)
-        for row in reader:
-            thread_names.append(row['threadName'])
-    
-    count = Counter(thread_names)
-    
-    with open('peticiones2.csv', 'w', newline='') as file:
-        writer = csv.writer(file)
-        writer.writerow(['threadName', 'numeroPeticiones'])
-        for thread_name, count in sorted(count.items(), key=lambda x: x[0]):
-            writer.writerow([thread_name, count])
-
-count_thread_names('medidas2.csv')
\ No newline at end of file
-- 
GitLab