def to_panel(self):
raise NotImplementedError("<STR_LIT>")<EOL>
Transform long (stacked) format (DataFrame) into wide (3D, Panel)
format.

.. deprecated:: 0.20.0

Currently the index of the DataFrame must be a 2-level MultiIndex. This
may be generalized later

Returns
-------
Panel