an alternate way to represent panel dataespecially for fitting statistical modelsis in "stackeddataframe formin [ ]stacked pdata ix[:''::to_frame(in [ ]stacked out[ ]major minor aapl dell goog msft aapl dell goog msft aapl dell goog msft open high low close volume adj close dataframe has related to_panel methodthe inverse of to_framein [ ]stacked to_panel(out[ ]dimensions (itemsx (majorx (minoritemsopen to adj close major axis : : to : : minor axisaapl to msft getting started with pandas www it-ebooks info