pandas.Panel.as_blocks

Panel.as_blocks(columns=None)

Convert the frame to a dict of dtype -> Constructor Types that each has a homogeneous dtype. are presented in sorted order unless a specific list of columns is provided.

NOTE: the dtypes of the blocks WILL BE PRESERVED HERE (unlike in as_matrix)

Parameters:

columns : array-like

Specific column order

Returns:

values : a list of Object