Skip to content
Snippets Groups Projects
Commit 4bdd004d authored by rubegar's avatar rubegar
Browse files

Upload New File

parent 4461e64a
No related branches found
No related tags found
No related merge requests found
import pandas as pd
# Cargar los datos desde un archivo CSV
df = pd.read_csv('medidas_juntos.csv')
# Normalizar la columna tiempoRespuestaPequeña respecto a tiempoRespuestaGrande
df['tiempoPequeño'] = df['tiempoPequeño'] / df['tiempoGrande']
# Establecer todos los valores de tiempoRespuestaGrande en 1
df['tiempoGrande'] = 1
# Guardar los datos en un archivo CSV
df.to_csv('datos_normalizados.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