So I have this data which which has the 12 months as below:
When I one-hot encode it using pd.get_dummies
the result is this:
You see that the new columns are ordered alphabetically losing the months order, which makes reading the data hard. Is there any way to preserve the order?