From 4461e64a21d3505df62047e4c9cb4e8ae8acac94 Mon Sep 17 00:00:00 2001
From: rubegar <ruben.garcia.vazquez@estudiantes.uva.es>
Date: Mon, 17 Jun 2024 20:09:04 +0000
Subject: [PATCH] Upload New File

---
 juntar.py | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 juntar.py

diff --git a/juntar.py b/juntar.py
new file mode 100644
index 0000000..a084ba4
--- /dev/null
+++ b/juntar.py
@@ -0,0 +1,14 @@
+import pandas as pd
+
+# Leer el primer archivo CSV
+df1 = pd.read_csv('medGrande.csv')
+
+# Leer el segundo archivo CSV
+df2 = pd.read_csv('medPeque.csv')
+
+# Combinar las columnas
+df_final = pd.concat([df1, df2], axis=1)
+df = df_final.drop('threadNames', axis=1)
+
+# Guardar el DataFrame resultante en un nuevo archivo CSV
+df.to_csv('medidas_juntos.csv', index=False)
\ No newline at end of file
-- 
GitLab