целое число COLOMN TO 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')