I have a dataframe in pandas with some columns with dates in the following format
If need datetimes use to_datetime with format='%Y%m':
to_datetime
format='%Y%m'
df['dates'] = pd.to_datetime(df['dates'], format='%Y%m')
1.4m articles
1.4m replys
5 comments
56.9k users