ComeçarComece de graça

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 exercício faz parte do curso

Customer Analytics and A/B Testing in Python

Ver curso

Exercício interativo prático

Experimente este exercício completando este código de exemplo.

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