(just a brief look since I'm not up-to-date on this)

Since you have k_exog, wouldn't it be as easy to reshape to column, only if also k_exog == 1.
(IIRC, we had this once before, but here it looks to come for free ?)