to_frame should have more control (be explicit) over what axis becomes index and the columns in the DF.

Comment From: sirinath

Also to_frame produces a DF which is inconstant with indexing scheme when compared to DF. Minor axis ideally should be the column with item and major axis merged.

Comment From: jreback

@sirinath this is long established that a frame in a Panel is essentially a flip of the normal axis (was just originally defined that way). You can certainly swap axes if you need as well. Can you show an API proposal for your first comment?

Comment From: sirinath

E.g. to_frame(['Item', 'Minor'], ['Major']) or to_frame(['A', 'B'], ['C'])

Comment From: jreback

closing as Panels are deprecated