I have a dataset with a column "date" with values like "Jul 31, 2014", "Sep 23, 2018"... I want to place months in a different column, convert them in integer using "df.to_datetime(df.MONTH, format='%b').dt.month" and then return back in order to sort it by the date index.
How can I choose only the first 3 letters from the cells?