Fecha de Colomn a DateTime
# importing pandas package
import pandas as pd
#date to datetime
df['Dates'] = pd.to_datetime(df['Dates'], format='%Y%m%d')
Ruben Visser
# importing pandas package
import pandas as pd
#date to datetime
df['Dates'] = pd.to_datetime(df['Dates'], format='%Y%m%d')