ComenzarEmpieza gratis

Parsing dates

In this exercise you will practice parsing dates in Python. While often data pulled from a database will be correctly formatted, other data sources can be less nice. Knowing how to properly parse dates is crucial to get the data in a workable format. For reference refer to https://strftime.org/ throughout this exercise to see date format to use.

Este ejercicio forma parte del curso

Customer Analytics and A/B Testing in Python

Ver curso

Ejercicio interactivo práctico

Prueba este ejercicio completando el código de muestra.

# Provide the correct format for the date
date_data_one = pd.to_datetime(date_data_one, format=____)
print(date_data_one)
Editar y ejecutar código