API: column ordering on `get_dummies` #12010
Using get_dummies is moving the columns to the end. What @jreback and @TomAugspurger have commented is right. But there are situations in which we require to preserve the order. For example, in scipy model creation algorithms,  the functions give preference for the columns based on the order of the columns. We are having to reorder the columns explicitly. I get it that it is not pandas' concern. But it will be better if we have an option to preserve.

So, I guess we must atleast have an option to preserve the order. Let the default be as the new columns to be at the end.