Last active
June 6, 2020 22:21
-
-
Save iangelmx/a35ebc05d7f283b24b28384ceb8695ec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Importamos la clase datetime | |
from datetime import datetime, timedelta | |
#Convertimos la columna Date a tipo datetime, para que la podamos manipular. | |
content_file['Date'] = content_file['Date'].apply( lambda x: datetime.strptime( x, '%b %d, %Y' ) ) | |
#Mostramos los países que se incluyen en los datos | |
content_file['Entity'].unique() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment