I have a data frame column in mmmyy format and would like to change in yyyy-mm-dd format.
Input :
Date
Aug21
Sept21
Output:
Date
2021-08-01
2021-09-01
tried: conv = lambda x: datetime.strptime(x, "%b %y")
dfi["Date"] = dfi["Date"].apply(conv)