Task 4_LAB 04.01 - CLEANING DATA.ipynb #182
ThomasPineda
started this conversation in
04 - GESTIÓN DE DATOS
Replies: 1 comment 1 reply
-
Saludos ThomasPineda El error es un |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hola, lo que pasa es que hago la tarea 4 como dice en la guia, pero me sale un error que no entiendo. Adjunto evidencia
Mi codigo fue:
d02 = pd.get_dummies(d01['place'])
d02 = d02.rename({'Bogota': 'place_Bogota', 'Madrid': 'place_Madrid', 'Medellin': 'place_Medellin'}, axis=1)
d01 = d01.drop(['place'], axis=1)
r04 = pd.concat([d02,d01], axis=1)
r04
Beta Was this translation helpful? Give feedback.
All reactions