Skip to content
Snippets Groups Projects
Commit 4461e64a authored by rubegar's avatar rubegar
Browse files

Upload New File

parent 2c40df1a
No related branches found
No related tags found
No related merge requests found
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment